KotlinintermediatebackendAI generated

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

  1. 01

    Set up Ktor project

    ~1.5h

    Scaffold a Ktor server with routing, content negotiation, and JSON serialization plugins.

  2. 02

    Define database schema

    ~1.5h

    Model the Book table with Exposed DSL and connect to a local SQLite database.

  3. 03

    Implement CRUD endpoints

    ~2.5h

    Add routes for creating, listing, updating, and deleting books.

  4. 04

    Add search and filtering

    ~2h

    Implement query parameters for searching by title/author and filtering by reading status.

  5. 05

    Write integration tests

    ~1.5h

    Use Ktor's test engine to verify each endpoint behaves correctly.

Resources

Ready to build this?

Get a GitHub repo and start building. Your AI reviewer checks each step as you go.

~9h · 5 steps

Tech stack

KtorExposedSQLite