A demo todo list api written in Scala with ZIO, zio-http and Slick
The app just models CRUD operations and stores the data in an in-memory database
GET /api/v1/todos GET /api/v1/todos/<id> POST /api/v1/todos?name=<name> PUT /api/v1/todos/<id>?newName=<newName> DELETE /api/v1/todos/<id>Clone the project
git clone https://github.com/AndySakov/alist-api.gitGo to the project directory
cd alist-apiStart the server
sbt runMake a request
curl -i http://localhost:8080/api/test/hello