Skip to content
This repository has been archived by the owner on Aug 6, 2019. It is now read-only.
/ forum-web Public archive

A web application crafted with Node, Express, Pug, Mongo

Notifications You must be signed in to change notification settings

coderdiaz/forum-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 hello@coderdiaz.me.

Created with love and other things ❤️