Skip to content

philographer/node-express-mongo-typescript

Repository files navigation

Node Express Typescript MongoDB

This Project is a scaffolding project for typescript node server.

How to run

  1. Set Environment Variable (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 
  1. Node Package Module Install
$ npm install
$ npm install -g concurrently
$ npm install -g typescript
  1. Start npm start script (in package.json => start script)
$ npm start