1.0.4 • Published 5 years ago
generator-endpoint v1.0.4
generator-endpoint
it generates base template to start a node api project
Installation
First, install Yeoman and generator-endpoint using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-endpoint
Usage
Start the generator:
yo endpoint
Then generate your new project by answering the following prompts.
Note that this template will generate files in the current directory, so be sure to change to a new directory first if you don't want to overwrite existing files.
That'll generate a project with all the common tools setup. This includes:
- Filled package.json file
- Moongoose models
- Endpoints for those models
- Default User Model with authentication
License
Running your server
First go into the directory of your application and install the dependencies
npm install
Then run the project using
npm run dev
Getting To Know Yeoman
- Feel free to learn more about Yeoman.
License
ISC © Nathan