Download the repo obviously
git clone https://github.com/mooncakes-dev/atlashackathon22-notely.git
cd
cd server
npm install
Set up .env file to look like this:
PORT=3000
ATLAS_URI=<mongodb-project-uri>
You're all done! Run:
nodemon start
cd client
npm install
npm run dev
Make sure your Vite app is on "http://localhost:5173" otherwise Express will block api calls.
Also, make sure your server and client run concurrently .