This is a simple server CRUD created to use be it in other app. Created using Kotlin and Ktor.
Download the project and run it, you probably have to install Intellij for this.
It doesn't have a database implemented, so every time you run the app your saved data will be lost.
GET http://0.0.0.0:8080/notes
[
{
"id": 1,
"title": "First note",
"content": "This is the first note"
},
{
"id": 2,
"title": "Second note",
"content": "This is the second note"
}
]
GET http://0.0.0.0:8080/notes/1
{
"id": 1,
"title": "First note",
"content": "This is the first note"
}
POST http://0.0.0.0:8080/notes
DELETE http://0.0.0.0:8080/notes/1