Skip to content

louaibouzaher/FlutterWorkshop_API

This branch is up to date with ScientificClubofESI/FlutterWorkshop_API:master.

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%