1.0.11 • Published 3 years ago

@tgolding55/create-node-api v1.0.11

Weekly downloads
-
License
ISC
Repository
github
Last release
3 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

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago