Skip to content

muhannad-ibrahim/coffeeMachineAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coffee Machine API

problem statment

Build a REST API with endpoints that return the JSON data for the coffee machines and coffee pods screens. These endpoints should be filterable by product type, water line, coffee flavor, and pack size, depending on whether the product is a coffee machine or coffee pod. For example, when filtering for large coffee machines, the endpoint should return an array with CM101, CM102, and CM103 as JSON objects

Steps to run the software

0- You should install nodeJS and npm on your machine (https://nodejs.org/en/download/)

1- Clone the project and select "main" branch

2- Open the cmd in the project folder

3- Install the following libraries.

* (express) => npm install express

* (mongoose) => npm i mongoose

* (dotenv) => npm i dotenv

About

api with node js

Resources

Stars

Watchers

Forks

Contributors