Skip to content

Samer-Alnajjar/api-server

Repository files navigation

api-server

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:

Coverage

  • UML Diagram

    UML-Diagram

  • Pull Request

  • Heroku-deployment

  • How do I install the app or library?

    1. Clone the repo from git hub, by run the following command "git clone -repo-".
    2. Run "npm init -y".
    3. Run "npm i".
    4. 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?
      1. Clone the repo from git hub, by run the following command "git clone -repo-".
      2. Run "npm init -y".
      3. Run "npm i".
      4. Create .env file and PORT inside it.
      5. Then run "npm start"

About

Class401-Lab04

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published