node-rest-api

Node REST API with Express, MongoDB and Typescript

MIT License

Stars
14

Store REST API using NodeJS, Express and MongoDB

This is a Typescript port of the awesome REST API tutorial which can be found here: https://github.com/academind/node-restful-api-tutorial/tree/13-controllers/.

Visitor stats

Code stats

Usage

Create a .env file using the .env.example file and add your Mongo Atlas admin password:

ATLAS_PWD=<YOUR_PASSWORD_HERE>
JWT_KEY=secret
ROOT=http://localhost
PORT=3000

Install dependencies

npm i

# or

yarn

Run in development mode

npm start

# or

yarn start

Build for production

npm run build

# or

yarn build

LICENSE

MIT



Badges
Extracted from project README
Travis CI Github Build Codacy Badge Codebeat Badge CodeFactor Badge DeepScan grade Analytics