1.0.0 • Published 5 years ago
tinaptic-backend v1.0.0
Tinaptic Backend
Installation
Install depdencies
$ npm installStart a mongodb instance using a container
$ docker pull mongo
$ docker run -d -p 27017:27017 mongoAdd and .env file in the root directory and define the following variables:
JWT_TOKEN_EXPIRATION_TIME='15 days'
JWT_SECRET='this-is-a-secret'
MONGODB_URL=mongodb://localhost:27017/school_manager_dbStart the app:
$ npm start1.0.0
5 years ago