To run this project, you will need to add the following environment variables to your run configuration
DB_URL
example:
DB_URL=jdbc:postgresql://localhost:5432/book_store_dev_db
DB_USERNAME
example:
DB_USERNAME=postgres
DB_PASSWORD
example:
DB_PASSWORD=your_database_password
Note: Add bearer token for authorized request
[1] - Authorization Admin
[2] - Authorization User
POST /api/admin/register POST /api/admin/login POST /api/user/register POST /api/user/login PUT /api/user/{id} [2] POST /api/products [1] PUT /api/products/{id} [1] DELETE /api/products/{id} [1] GET /api/products [1][2] GET /api/products/{id} [1][2] POST /api/cart [2] PUT /api/cart/{itemId} [2] DELETE /api/cart/{itemId} [2] GET /api/cart [2] POST /api/feedbacks/submit [2] GET /api/feedbacks/{productId} [2] POST /api/orders [2] GET /api/orders [1] GET /api/orders/history [2] POST /api/wishlist [2] DELETE /api/wishlist/{itemId} [2] GET /api/wishlist [2]