Task Manager REST API with Akka HTTP
Build a JSON REST API for creating, updating, and completing tasks, backed by an in-memory or H2 store. Learners practice Akka HTTP routing, JSON marshalling with spray-json, and case-class based domain modeling.
- Estimate
- ~12h
- Steps
- 6
- Completed by
- 0
- Proposed by
- codeseed.app
Akka HTTP · spray-json · H2
Project roadmap
- 01
Set up the Akka HTTP server
~2hBootstrap an Akka HTTP application with routing and actor system configuration.
- 02
Define CRUD routes for tasks
~2.5hImplement routes for creating, listing, updating, and completing tasks.
- 03
Add JSON marshalling
~1.5hConfigure spray-json formatters for the Task case class and API DTOs.
- 04
Integrate H2 persistence
~2.5hStore tasks in an embedded H2 database instead of in-memory collections.
- 05
Add request validation
~1.5hValidate incoming JSON payloads and return meaningful error responses.
- 06
Write route tests
~2hUse Akka HTTP TestKit to test each endpoint's behavior.
Resources
Ready to build this?
Get a GitHub repo and start building. Your AI reviewer checks each step as you go.
Tech stack