Skip to content

aramisromero89/gateway-manager-api

Repository files navigation

Description

Gateway manager API written with Nest. Deployed here.

Any commits to master branch will update the service on Heroku until november when the free plan will be gone :( .

Installation

$ npm install

Setup

You have to set the following environment variables

# E.g postgresql://postgres:postgres@localhost:5432/gateway?schema=public
$ export DATABASE_URL={DB_URL}
$ export PORT=80
$ export JWT_SECRET=some-secret

Then you have to publish you schema

$ npx prisma db push

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

There are 2 tests for a proof of concept

# unit tests
$ npm run test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published