ScientificClubofESI / FlutterWorkshop_API

API created to be used for the flutter workshop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FlutterWorkshop_API

API created to be used for the flutter workshop built in Express Js.

Routes

Different routes you can use in this API

GET /products/all

Get all products in database

POST /products/create

Create a new product in database with this model :

productschema = {
name : String,
description : String,
image: String,
price: Number,
}
PUT /products/update/id

Edit an existing product identified in database with its id according to this model :

productschema = {
name : String,
description : String,
image: String,
price: Number,
}
DELETE /products/delete/id

Delete an existing product identified in database with its id

About

API created to be used for the flutter workshop


Languages

Language:JavaScript 100.0%