Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 787 Bytes

File metadata and controls

34 lines (29 loc) · 787 Bytes

Get started

Backend (server)

  1. Go to the server folder and install dependencies:

    npm install
  2. 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=5050
    

    Replace <db_username> and <db_password> with your database username and password.

Frontend (client)

  1. Go to the client folder and install dependencies:

    npm install
  2. Start the client:

     npx expo start