-
Go to the server folder and install dependencies:
npm install
-
Start the server
node server.js
To run the server as the developer mode:
npm run dev
Note that to avoid expose our database api in this public repo, you need to set up "server/config.env" in your local:
MONGO_URI=mongodb+srv://<db_username>:<db_password>@cluster.ntiw1.mongodb.net/?retryWrites=true&w=majority&appName=Cluster PORT=5050Replace <db_username> and <db_password> with your database username and password.
-
Go to the client folder and install dependencies:
npm install
-
Start the client:
npx expo start