Skip to content

Advanced-Computer-Lab-2025/Task_1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Advanced Computer Lab Tasks

- Before coming to the lab !!

  • Make sure that you have vs code installed.

  • Make sure that you have node installed.

  • Make sure that you have Postman installed.

  • Make sure that you have Git installed

  • Clone the repository to your laptop.

  • Type in terminal to install all missing packages:

    npm install 
    
  • create .env [inside server folder] file and add PORT & MONGO_URI

DB LINKS

Hadwa's groups:

mongodb://Hadwa:Hadwa@ac-tl77fwg-shard-00-00.hpstsct.mongodb.net:27017,ac-tl77fwg-shard-00-01.hpstsct.mongodb.net:27017,ac-tl77fwg-shard-00-02.hpstsct.mongodb.net:27017/?ssl=true&replicaSet=atlas-4jfj3v-shard-0&authSource=admin&retryWrites=true&w=majority&appName=Cluster0

Noha's groups:

mongodb://database:1234@ac-5otzmjg-shard-00-00.insh6i0.mongodb.net:27017,ac-5otzmjg-shard-00-01.insh6i0.mongodb.net:27017,ac-5otzmjg-shard-00-02.insh6i0.mongodb.net:27017/?ssl=true&replicaSet=atlas-b4fbz1-shard-0&authSource=admin&retryWrites=true&w=majority&appName=Cluster0

Nada's groups:

mongodb://atlasDB:atlasDB@cluster0-shard-00-00.vt5cm.mongodb.net:27017,cluster0-shard-00-01.vt5cm.mongodb.net:27017,cluster0-shard-00-02.vt5cm.mongodb.net:27017/?ssl=true&replicaSet=atlas-1qb2ed-shard-0&authSource=admin&retryWrites=true&w=majority&appName=Cluster0

Ziad's groups:

mongodb://ZiadElsabbagh:Ziad1234@ac-c8umrgv-shard-00-00.ehcvpo6.mongodb.net:27017,ac-c8umrgv-shard-00-01.ehcvpo6.mongodb.net:27017,ac-c8umrgv-shard-00-02.ehcvpo6.mongodb.net:27017/?ssl=true&replicaSet=atlas-uux8uh-shard-0&authSource=admin&retryWrites=true&w=majority&appName=Ziad 

Mabrouk's groups:

mongodb://gucACL:ACL123@ac-kvelmry-shard-00-00.klnokrh.mongodb.net:27017,ac-kvelmry-shard-00-01.klnokrh.mongodb.net:27017,ac-kvelmry-shard-00-02.klnokrh.mongodb.net:27017/?ssl=true&replicaSet=atlas-p1sm0e-shard-0&authSource=admin&retryWrites=true&w=majority&appName=mabrouk

Karim's groups:

mongodb://karimahmedx12345_db_user:3j4pXtepJOOqUwdH@ac-8s5sv3m-shard-00-00.sytujrt.mongodb.net:27017,ac-8s5sv3m-shard-00-01.sytujrt.mongodb.net:27017,ac-8s5sv3m-shard-00-02.sytujrt.mongodb.net:27017/?ssl=true&replicaSet=atlas-k9r7jp-shard-0&authSource=admin&retryWrites=true&w=majority&appName=Cluster0

Testing

After cloning the repo and adding PORT and DB LINK

npm run dev

You shall see the following output in terminal :

MongoDB connected
API listening on http://localhost:4000

TODO:

  • Implement the function updatePerk
  • Tets it on postman
  • Push it on Github (check the manual if you struggle)
  • Show your TA for grading

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5