A social timetable web-app where users can share their schedules via iCal links
To setup the frontend:
-
cd frontend/cotangles && npm i -
npm run prepare(to setup husky)
To setup the backend:
cd backend && npm i
A quick guide on MongoDB's NodeJs Driver: https://www.mongodb.com/docs/drivers/node/current/quick-start/connect-to-mongodb/
To connect to a cluster, create a src/.env.local file in backend folder. Avoid exposing the DB uri connection string by storing it in this env file.
From the backend folder, run npx tsx src/dbInterface.ts to test whether a connection has been successfully established to the DB.