/social-microservice

This is a micro service application

Primary LanguageJava

springboot-microservice-social-app

UNI VIBES

Minimal Spring Boot sample app.

Requirements

For building and running the application you need:

  • JDK 17 you can download the JDK directly from IntelliJ. Go to settings->project Structure->SDK Then select JDK 17 or above

Running the application locally

For setting up the database check the docker-compose file at the root of the application "docker-compose.yml" run the command

docker-compose up

To run Each service, navigate root folder of each service . run the command

mvn spring-boot:run

or go to the main method and run it

Note

The api-gateway and the discovery server must run first The api Gateway is the single route to access other micro-services For api-gateway

http://localhost:8090

Swagger documentation

for user-service: localhost:8094

http://localhost:8094/swagger-ui/index.html#/

for chat-service localhost:8091

http://localhost:8091/swagger-ui/index.html#/

for meeting-service: localhost:8093

http://localhost:8093/swagger-ui/index.html#/

for schedule localhost:8096

http://localhost:8096/swagger-ui/index.html#/