1.0.11 • Published 4 years ago

@tgolding55/create-node-api v1.0.11

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

Create-node-api

This is a simple node api boilerplate, includes a user model with authorization middleware and routes.

Getting Started

To install run:

npx @tgolding55/create-node-api my-app

Next, fill out the .env, dev.env and test.env files with your environment variables.

To test run:

npm test

To run in dev mode, run:

npm run start:dev

To start in prod, run:

npm start

Finally to seed your database you can use:

When in dev (seeds/seedDev.js will be used)

npm run seed

When in prod (seeds/seedProd.js will be used)

NODE_ENV='prod' node seedDB.js

Remember to update the package.json!

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago