Java: v17
SpringBoot: v3.2.3
- Make sure you have Extension Pack for Java plugin installed.
- Make sure you have Java version 17 installed in your machine and JAVA_HOME configured correctly.
- Once you have completed the above requirements, you can now run the application in VSCode.
Use Postman for testing API endpoints.
- GET http://localhost:8080/notes
- POST http://localhost:8080/notes
- example request body:
{ "title": "Note 1", "body": "This is a note!" }
- example request body:
- GET http://localhost:8080/notes/:id
- PUT http://localhost:8080/notes/:id
- example request body:
{ "title": "Note 3", "body": "This is changed!" }
- example request body:
- DELETE http://localhost:8080/notes/:id