Skip to content

haloapping/ikang-api

Repository files navigation

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

About

REST API about fish.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published