Currently hosted at https://ost-challenge.herokuapp.com/
This project was bootstrapped with Create React App. (Click link for details)
-
Run
npm install
in root directory of app -
Enter client directory (
cd client
) and runnpm install
there as well -
Ensure that you have mongodb installed: https://docs.mongodb.com/manual/installation/
-
Start a MongoDB server with
mongod
-
You'll need a .env file in the root level of your project that has variables related to connecting to your database: an example is:
DB_USER=myDatabaseUser DB_PASS=myDatabasePassword DB_SERVER=my-db-host.com:27530/my-database-name
-
Go back to root directory (
cd ../
) and runnpm start
-
To run unit tests, use
npm test
in client directory