Skip to content

devsoc-unsw/trainee-death-24t3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Cotangles

A social timetable web-app where users can share their schedules via iCal links

Setting Up

To setup the frontend:

  1. cd frontend/cotangles && npm i

  2. npm run prepare (to setup husky)

To setup the backend:

  1. cd backend && npm i

Connecting to MongoDB

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published