This generator was made up with Hygen. Access the website for more info and docs.
#Requisites In order to use it, you'll need to:
- Have Node.js installed on your computer (version > 10). If you need to install it go to Node
- Have Git CLI installed or Git GUI. More info at: Git
- Clone the project
- Open your terminal or GIT CLI.
- Run 'npm install -g hygen'
- From your cloned folder root, run: hygen express-api new.
- Answer each input asked in a proper and careful way.
- Example: API Name : api-name Service Name: user
- After answering it, the api will be generated.
- From your cloned folder root, run: hygen express-api add-endpoint.
- Answer each input asked in a proper and careful way.
- After answering it, the api will be generated.
###PS: For each new API or Endpoint, you should run the generator again and again.
In order to test it, go into your API's folder and run the following commands: 'npm install' 'npm run local'