View on GitHub

node-rest-api

Node REST API with Express, MongoDB and Typescript

Travis CI Github Build Codacy Badge Codebeat Badge CodeFactor Badge DeepScan grade Analytics

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

GitHub stars GitHub forks GitHub watchers GitHub followers

Code stats

GitHub code size in bytes GitHub repo size GitHub language count GitHub top language GitHub last commit

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


Connect with me:


                     

Support and sponsor my work: