1.0.0 • Published 4 years ago

tinaptic-backend v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Tinaptic Backend

Node.js CI codecov

Installation

Install depdencies

$ npm install

Start a mongodb instance using a container

$ docker pull mongo
$ docker run -d -p 27017:27017 mongo

Add 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_db

Start the app:

$ npm start