A RESTful Task Management Backend built with Kotlin and Ktor. This project demonstrates CRUD (Create, Read, Update, Delete) operations using JSON serialization and in-memory data storage.
- Create Task
- Retrieve All Tasks
- Update Existing Task
- Delete Task
- RESTful API
- JSON Serialization
- In-Memory Storage
- Kotlin
- Ktor
- Netty
- Kotlinx Serialization
- Gradle
| Method | Endpoint | Description |
|---|---|---|
| GET | /task |
Get all tasks |
| POST | /task |
Create a task |
| PUT | /task/{id} |
Update a task |
| DELETE | /task/{id} |
Delete a task |
POST /task
{
"name": "Learn Ktor",
"description": "Build a REST API",
"priority": "HIGH"
}{
"id": 1,
"name": "Learn Ktor",
"description": "Build a REST API",
"priority": "HIGH"
}Clone the repository:
git clone https://github.com/rudram837/KtorTaskBackend.gitMove into the project directory:
cd KtorTaskBackendRun the application:
./gradlew runServer URL:
http://localhost:8088
- Postman
- Browser
- Database Integration (MySQL/PostgreSQL)
- JWT Authentication
- Request Validation
- Global Exception Handling
- Unit Testing
👤 Rudra Maurya
- LinkedIn: @rudramaurya
- GitHub: @rudramaurya
- Portfolio: @Rudra