Skip to content

muratmelih/getir-locals-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

getir-locals-api

node server to get data from getir local database hosted MongoDb cloud. Handles card processes like add, update delete and get App url : https://getir-local-api.herokuapp.com/

Dependencies

cors, express, mongodb

/card/add

inserts new item to card. Model:

interface CardType {
  name: string;
  slug: string;
  quantity: number;
  price: number;
}

/card/update

updates the item quantity in the card . Model:

interface CardType {
  name: string;
  slug: string;
  quantity: number;
  price: number;
}

/card/delete?slug=item.slug

finds the item in card by slug and deletes item Model:

slug:string

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published