Skip to content

Latest commit

 

History

History
49 lines (39 loc) · 1 KB

README.md

File metadata and controls

49 lines (39 loc) · 1 KB

Forum web

A node application created with Node, Express, Mongoose, Pug and another tools.

Dependencies

  1. Node.js Download.
  2. Mongo DB Download.

Getting started

First copy the .env.example to .env and modify the environment variables with your values.

$ cp .env.example .env
DEBUG=nodejs-fsbt-04-2018:*
MONGO_URI_CONNECTION=mongodb://host/database
SESSION_KEY=secret
JWT_SECRET_KEY=secret
JWT_EXPIRES_IN=3600000 # Expire token time in miliseconds

# Firebase
FIREBASE_APIKEY=API_KEY
FIREBASE_AUTHDOMAIN=AUTHDOMAIN
FIREBASE_DATABASEURL=DATABASEURL
FIREBASE_STORAGEBUCKET=STORAGEBUCKET
FIREBASE_SENDERID=SENDERID

Development

# Install dependencies
$ yarn install

# Start serve
$ yarn dev

Production

# Install dependencies
$ yarn install

# Start production
$ yarn start

For any feedback contact me [email protected].

Created with love and other things ❤️