Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 755 Bytes

readme.md

File metadata and controls

32 lines (27 loc) · 755 Bytes

Node Express Typescript MongoDB Passport.js(local + facebook)

This Project is a scaffolding project for typescript node express server

How to run

Set Environment Variable (for Passport.js)

$ echo 'export FACEBOOK_CLIENT_ID="Need To Inesrt Your FACEBOOK_CLIENT_ID"' >> ~/.bash_profile 
$ echo 'export FACEBOOK_CLIENT_SECRET="Need To Inesrt Your FACEBOOK_CLIENT_SECRET"' >> ~/.bash_profile 
$ echo 'export FACEBOOK_REDIRECT_URL="Need To Insert Your FACEBOOK_REDIRECT_URL"' >> ~/.bash_profile 

Node Package Module Install

$ npm install
$ npm install -g concurrently
$ npm install -g typescript

Start npm start script (in package.json => start script)

$ npm start