This is a minimalist starter project for Node.js API using JWT + IP auth, Express, CRUD and caching.
Install dependencies:
npm install or yarn
Then, copy the .env.example file to a new .env file and fill in the values.
Then in the terminal run the commands you need:
-
Development mode:
yarn dev -
Production mode:
yarn buildthenyarn start
- Add response formatter
- Add testing
- Add logging
- Add database wrapper
- Add docker support