Skip to content

Dicon-MoodLight/MoodLightServer

Repository files navigation

Mood Light Server

Description

Server that supports REST API for the Mood Light mobile app.


Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Admin app

# development
$ npm run start:admin:dev

# production mode
$ npm run start:admin:prod

Environment configuration

# Environment
PORT
ADMIN_PORT
NODE_ENV

# Database
DB_NAME
DB_PORT
DB_HOST
DB_USERNAME
DB_PASSWORD

# SMTP
EMAIL_SERVICE
EMAIL_HOST
EMAIL_PORT
EMAIL_ADDRESS
EMAIL_PASSWORD

# Secret
JWT_ACCESS_TOKEN_SECRET
ADMIN_KEY

About

Server that supports REST API for the Mood Light mobile app.

Resources

Stars

Watchers

Forks