- Use async await (ES8)
- MongoDB
- Redis
Used a number of open source projects to work properly:
- [node.js] - evented I/O for the backend
- [Express] - fast node.js network app framework [@tjholowaychuk]
My app requires Node.js v12+ & MongoDB to run.
Install the dependencies and devDependencies and start the server.
$ cd restapi-learn
$ npm i
$ npm startWant to work correctli? add following constants to .env!
.ENV:
PORT = 8080
DB_CONNECTION = mongodb://127.0.0.1:27017/restapilearn
TOKEN_SECRET = super_token_secretBohdan Pidluzhnyy
MIT
Learning project, Hell Yeah!