Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 716 Bytes

README.md

File metadata and controls

32 lines (27 loc) · 716 Bytes

Thrive

A web app developed for the 36 hour hackathon conducted APPLab HACKXHIBIT' 23, MAHE

Setup

To run the react app

cd ./frontend
npm install
npm start

To setup the server

Inorder to get the secret files for testing purposes, please contact one of our team members

  1. Create a .envfile under \server with the following content
PORT=5000

DB_USERNAME=main
DB_PASSWORD=<DB_PASSWORD>

WHITELISTED_DOMAINS = "http://localhost:3000, http://localhost:5000, *"
  1. Setup firebase admin secrete
    i. Create a \secret folder in server
    ii. Copy the json file obtained from Firebase sdk in the folder
  2. Run the server
cd ./server
npm install
npm run dev