Skip to content
/ backend Public

Backend functions for our app. Written using Nest.js

License

Notifications You must be signed in to change notification settings

Luftio/backend

Repository files navigation

Luftio Backend

Installation

$ npm install

Running the app

The app expects the database to be running on localhost:5432.

To connect to the production database, use ssh -L5432:localhost:5432 [email protected]

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Deployment

First, connect to the correct server via ssh. Then run the following:

$ cd app-backend
$ git pull origin master
$ npm run build
$ pm2 restart app-backend

About

Backend functions for our app. Written using Nest.js

Resources

License

Stars

Watchers

Forks

Languages