Skip to content

Latest commit

 

History

History
37 lines (32 loc) · 773 Bytes

README.md

File metadata and controls

37 lines (32 loc) · 773 Bytes

Bookmark Manager Service


  • Requires JAVA 11.
  • Runs on port 8900.
  • H2 in memory DB is being initialized when the applications starts.
  • The initialization script of the DB can be found here: src/main/resources/data.sql

REST API:

It exposes the following endpoints:

  • GET: /api/bookmarks
  • POST: /api/bookmarks
  • DELETE: /api/bookmarks/{id}
  • PUT: /api/bookmarks/{id}
  • GET: /api/bookmarks/test -> for testing

Request & Response Body example:

{
    "id": 3,
    "name": "google",
    "url": "www.google.com",
    "group": "general"
}

How to run:

# For MAC or LINUX users
./mvnw clean package
./mvnw spring-boot:run