Skip to content

This is repositories for example restfull api with express and mysql

Notifications You must be signed in to change notification settings

raihan-muhammad/express-restfull-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

express-restfull

The technology that I use

  1. Node Js
  2. Express Js
  3. Mysql

How to start

npm install
npm run start

ENDPOINT

Path Method Description Data
/api/produk GET used for show list of produk from database. -
/api/produk/:id GET used for show detail of produk from database. Params Request :
id: integer
/api/produk POST used for add data produk to database. Raw Object Request :
product_name: varchar
product_price: integer
/api/produk/:id PUT used for update data produk to database. Params Request :
id: integer
Raw Object Request :
product_name: varchar
product_price: integer
/api/produk/:id DELETE used for delete data of produk from database. Params Request :
id: integer

About

This is repositories for example restfull api with express and mysql

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published