Sample application of microservices architecture with Angular7 and SpringBoot + Docker.
- Angular 7
- Bootstrap 4
- Spring Boot 2.0
- Spring Security
- Spring Boot Netflix Zuul
- Spring Boot Netflix Eureka
- MongoDB
- MySQL
- Docker 18.06.1-ce
The API default URL is:
http://localhost:8081/api/v1/recipe
There are a set of different API's, like you can see above.
GET /recipes
GET /recipe/{id}
POST /
Payload
{id: integer, title: string, recipes: string}
JVM arguments for enable remote debug:
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005
Enable remote debug from your IDE on port 5005.
All REST API exposed are documented by Swagger at the below address:
http://localhost:8081/swagger-ui.html
The front-end is developed with Angular framework and the default url is:
http://localhost:8083
or in development mode, navigate to angular/ui directory and run:
ng serve
go to below url with your browser:
http://localhost:4200
The service url is:
http://localhost:8082/api/v1/auth
JVM arguments for enable remote debug:
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005
Enable remote debug from your IDE on port 5005.
All REST API exposed are documented by Swagger at the below address:
http://localhost:8082/swagger-ui.html
TODO
TODO
All containers communicate between each other through same network 'recipe-network'.
To build application run the below command:
mvn clean install
To launch application run the below command:
docker-compose up