- From the directory you would like to store the repo, clone the repository:
git clone https://github.com/lisatiann/divergent-coding-test.git
- Install the node packages for both the serve and client
npm install
- Build the frontend code
npm run build
This should create a build folder that will be located in the root directory
- Run the frontend server
npm run dev
It should be running in http://localhost:8080
- Run the backend server
npm run server
The server should be running in http://localhost:3000
Please create a free cluster on MongoDB's website and replace the current URI in the "model.js" file with your own.