Class401-Lab04
-
Branch name : dev
-
MongoDB URI: MONGODB_URI=mongodb+srv://samer:0000@cluster0.1obxq.mongodb.net/samerdb?retryWrites=true&w=majority
-
Feature requirement:
- Two main routes (clothes/ food)
- Having the ability to get the data from the database for clothes and food
- Having the ability to add data to the database for clothes and food
- Having the ability to update an existing data in the database.
- Having the ability to delete data from the database.
- Having the ability to store the data permanently.
-
Tests that assert your features:
- GitHub Action
- Coverage
-
UML Diagram
-
How do I install the app or library?
- Clone the repo from git hub, by run the following command "git clone -repo-".
- Run "npm init -y".
- Run "npm i".
- Create .env file and PORT inside it.
-
How do I test the app or library?
- Just run "npm test"
-
For Applications:
- How do I run the app?
- Run "npm start" or "node index.js"
- How do I set up the app?
- Clone the repo from git hub, by run the following command "git clone -repo-".
- Run "npm init -y".
- Run "npm i".
- Create .env file and PORT inside it.
- Then run "npm start"
- How do I run the app?