Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 523 Bytes

README.md

File metadata and controls

39 lines (32 loc) · 523 Bytes

Assignment 3

Setup

To install all dependencies run

npm run install

.env files

Create one in the server directory and add a DB property that points to your mongodb uri

DB=mongodb://127.0.0.1:27017/assignment3

Run the app

To run the application run

npm run dev

To build everything:

npm run heroku-postbuild

To start in production mode:

npm run start

To only run the server:

cd server && npm run dev

To only run the client:

cd client && npm run start