This repository has basic code related to MicroService in spring boot.
- Creation of MicroServices
- Intercommunication in between MicroServices
- Authorization of Micro by JWT
- Dockerization of MicroServices
- Docker-Compose in MicroServices
- Java 8
- Spring Boot
- Maven
- MangoDB
- JWT
- Docker, Docker-compose
- API Gateway
- Discovery Server
- Auth Service
- Order service
- Product Service
- mvn clean install
- docker-compose up --build
- docker-compose up --force-recreate --build
Port for each Service should be unique.
Spring Boot Application
- http://localhost:8766
- http://localhost:8300
- http://localhost:8600/product-service
- http://localhost:8600/order-service
- http://localhost:8100/authenticate
{
"username":"everything",
"password":"password"
}
pass request with Authorization: Bearer
http://192.168.1.102:8600/auth/authenticate
http://192.168.1.102:8600/auth/greetings
- Authentication
- Test case
- JWT integration
- Deploy Micro Service In Heroku or AWS with docker