Skip to content

Latest commit

 

History

History
38 lines (21 loc) · 887 Bytes

File metadata and controls

38 lines (21 loc) · 887 Bytes

APIAPP

This is an example of RESTful API CRUD demo using Node.js and MySql

Database strucure

CREATE TABLE IF NOT EXISTS `test` 
(`id`      int NOT NULL, 
 `user`     varchar(50) DEFAULT NULL, 
  PRIMARY KEY(`id`)) 
 ENGINE = InnoDB DEFAULT CHARSET = latin1;

Example below is given to test api in postman with specified url and parameters for all crud operations

Get All GetAll Api

Get By Id Get By Id Api

Add Add Api

Edit Edit Api

Delete Delete Api