This is a simple Naruto API built using Hono.js. It allows you to manage a collection of ninjas with operations such as retrieving, creating, updating, and deleting ninja data.
- GET
/ninja: Retrieve the list of all ninjas. - GET
/ninja/:id: Retrieve a specific ninja by their ID. - POST
/ninja: Create a new ninja. - DELETE
/ninja/:id: Delete a ninja by their ID. - PATCH
/ninja/:id: Update specific fields of a ninja by their ID.
- Node.js (>=20.x)
- bun
- Clone the repository:
git clone <https://github.com/Endabelyu/naruto-api.git>
cd naruto-api- Install dependencies:
bun install- Run the project
bun devDocumentation about endpoints and response will be present with Swagger UI https://swagger.io/ asap.
Database design will present here https://dbdiagram.io/d/Naruto-API-66cd37483f611e76e98fcc23 .