This project is a RESTful API for managing data Shoes. It allows you to perform CRUD operations on shoes data.
To get started with the project, follow these steps:
- Clone the repository:
git clone https://github.com/ahmaddwiki/Tugas-UKM-SoftDev.git
- Install the dependencies:
npm install
- Start the server:
node server.js
The server will start running on http://localhost:3001
.
The following endpoints are available:
GET /shoes
: Get all shoesGET /shoes/:id
: Get a specific shoes by IDPOST /shoes/add
: Create a new shoesPUT /shoes/edit/:id
: Update a shoes by IDDELETE /shoes/delete/:id
: Delete a shoes by ID
To send requests to the API, you can use tools like cURL or Postman.
You can also view the API Documentation by visit http://localhost:3001/api-docs
.