Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.64 KB

README.md

File metadata and controls

44 lines (29 loc) · 1.64 KB

Ikang API

REST API about fish.

ERD

Ikang ERD

REST API Specification

Path Method Description Example
/fishes GET Get all fishes http://localhost:3000/fishes
/fishes/:id GET Get fish by ID http://localhost:3000/fishes/550e8400-e29b-41d4-a716-446655440000
/fishes POST Create new fish http://localhost:3000/fishes
/fishes/:id DELETE Delete fish by ID http://localhost:3000/fishes/550e8400-e29b-41d4-a716-446655440000
/fishes/:id PUT Update fish by ID http://localhost:3000/fishes/550e8400-e29b-41d4-a716-446655440000
/fishes/:id PATCH Update fish by ID, create if not exist http://localhost:3000/fishes/550e8400-e29b-41d4-a716-446655440000
/fishes/search GET Search fish by query http://localhost:3000/fishes/search?q=ikan-tongkol

Tech Stack

Get Started

To install dependencies:

bun install

To run:

bun run dev

Open http://localhost:3000


Made with ❤️ by haloapping