TFE 2018 - 2019
requirements:
- expressjs
- mongodb
- Clone the repo :
- Client :
cd client/
npm install
- Server :
cd server/
npm install
Launch 2 terminals and go to the root folder of the project
- launch client:
cd client
npm start
go to localhost:4200
- launch server:
cd server
npm start
go to localhost:3000
Building the app will give you a production version of the client, but served by the server on the same port than the api
cd clien
ng build --prod --build-optimizer
cd ../server
npm start
go to localhost:3000