Ktor REST API for a Bookshelf Manager
Build a REST API for tracking a personal book collection, supporting CRUD operations, search by author/title, and reading-status filters, backed by a SQLite database via Exposed. Learners practice building HTTP APIs, routing, and database access in Kotlin.
- Estimate
- ~9h
- Steps
- 5
- Completed by
- 0
- Proposed by
- codeseed.app
Ktor · Exposed · SQLite
Project roadmap
- 01
Set up Ktor project
~1.5hScaffold a Ktor server with routing, content negotiation, and JSON serialization plugins.
- 02
Define database schema
~1.5hModel the Book table with Exposed DSL and connect to a local SQLite database.
- 03
Implement CRUD endpoints
~2.5hAdd routes for creating, listing, updating, and deleting books.
- 04
Add search and filtering
~2hImplement query parameters for searching by title/author and filtering by reading status.
- 05
Write integration tests
~1.5hUse Ktor's test engine to verify each endpoint behaves correctly.
Resources
- DocsKotlin Docs
Ready to build this?
Get a GitHub repo and start building. Your AI reviewer checks each step as you go.
Tech stack