From 4b108e1ae13f2e6596f578598fb29c25ca65206b Mon Sep 17 00:00:00 2001 From: Tokishu <111585037+Tok1shu@users.noreply.github.com> Date: Thu, 15 May 2025 01:42:23 +0200 Subject: [PATCH] Create README.md --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..247da77 --- /dev/null +++ b/README.md @@ -0,0 +1,26 @@ +# Spring Boot Note Api + +I'm testing spring boot, and it might become my main framework for building APIs + +## Endpoits +### `GET /api/notes` - Get all notes + +### `GET /api/note/{id}` - Find note by id + +### `POST /api/note` - Add a new note +``` +{ + "name":"What should I buy?", + "text":"Tanya's note" +} +``` + +### `PUT /note/{id}` - Update note +``` +{ + "name":"What should I buy?", + "text":"I bought the apple!" +} +``` + +### `DELETE /note/{id}` - Delete note