Built with NodeJs using the Express.Js Framework.
Express.js is a web application framework for Node.js.
This is RESTful api design for
Built with Node js, using ExpressJs framework and other libraries.
-
Open your terminal or command prompt
-
Type
git clone https://github.com/abdipriyangga/b22-backend-beginner.git
-
Open the folder and type
yarn install
ornpm install
for install dependencies -
Create new database at MYSQL
-
Type
npm run server
ornpm start
in terminal for run this backend, and this project running on portlocalhost:8081
.
Used for CRUD ITEMS
No. | Method | Endpoint | Information |
---|---|---|---|
1. | POST | /items | Used for add new item. |
2. | GET | /items | Used for all items. |
3. | /items/:id | Used for detail item by id. | |
4. | /items/search | Used for search and sort item. | |
6. | PATCH | /items/:id | Used for set item by id. |
7. | DELETE | /items/:id | Used for delete item. |
For more documentation , check it out below!