A simple API provides CRUD operation on a simple entity (Cat)
240
The project is simple, to provide simple, yet working CRUD API for frontend app.
The entity is Cat
You can quickly start the api using docker
docker run --rm -p 9999:9090 codingpuss/fake-cat-api
In the example above, I used external port 9999. Change this to whatever port number that suits you.
Now, you can access the API at http://localhost:9999/
See API details below
/cats/raise/{catNum}
Where catNum is the number of cats to create.
The HTTP Method is GET for convenience. Change to POST if you prefer so.
For example, to create 10 cats, call:
/cats/raise/10
GET /cats/{catId}
DELETE /cats/{catId}
GET /cats/list
POST /cats
GET /cats/search/{name}
MIT
I'm a software developer. I blog at https://datmt.com
Content type
Image
Digest
Size
102.4 MB
Last updated
over 4 years ago
docker pull codingpuss/fake-cat-api