# create-endpoints

### Create Express API endpoints Quickly 

Requirements: models folder and routes.js file in the root of the project

### Setup 

    npm install --save create-endpoints

Or 

    yarn add create-endpoints

Then

In your package.json

    "scripts": {
      "new-endpoints": "create-endpoints"
    }

#### Make Endpoints

Warning: endpoints are VERY case-sensitive

    npm run new-endpoints yourEndpointName

* In your routes.js file you should see four new API endpoints

* In the models folder you will find a file with the name of your endpoint. Inside are models of the endpoints.

##### Have Fun!






