-
cofe-app-gw - to communicate with all the services
-
user-service - to connect database for providing rest service
-
reward-service - to connect database for providing rest service
-
postgresql-db - to store client information
- JDK-11 - Java™ Platform, Standard Edition Development Kit
- Spring Boot - Framework to ease the bootstrapping and development of new Spring Applications
- Maven - Dependency Management
- PostgreSql - Open-Source Relational Database Management System
- Lombok - Never write another getter or equals method again, with one annotation your class has a fully featured builder, Automate your logging variables, and much more.
- Swagger - Open-Source software framework backed by a large ecosystem of tools that helps developers design, build, document, and consume RESTful Web services.
- Git - Free and Open-Source distributed version control system
- Docker - A set of platform as a service products that use OS-level virtualization to deliver software in packages called containers.
- use "docker-compose up -d" to run the dockerized spring boot projects
- Swagger -
http://localhost:8083/swagger-ui.html
- Documentation & Testing
URL | Method | Remarks |
---|---|---|
https://localhost:8083/users |
GET | get all users |
https://localhost:8083/users/1 |
GET | get a user |
https://localhost:8083/users |
POST | create a user |
https://localhost:8083/rewards |
GET | get all rewards |
https://localhost:8083/rewards/1 |
GET | get a reward |
https://localhost:8083/rewards |
POST | create a reward |
https://localhost:8083/user-rewards |
POST | assing reward to user |