Hi, I'm Mike!
about the project
const rangiffler = {
code : [ Java_17 , Typescript , JavaScript , FreeMaker , HTML , CSS , SCSS ] ,
tools : [ "Spring" , "Spring Boot" , "Spring gRPC" , "Spring data JPA" , "Spring web-services" ] ,
architecture : "microservices" ,
services : {
rangiffler - auth : [ "Spring Authorization Server" , "rest" ] ,
rangiffler - gateway : [ "Spring OAuth 2.0 Resource Server" , "rest" , "grpc" ] ,
rangiffler - geo : "grpc" ,
rangiffler - photo : "grpc" ,
rangiffler - userdata : "rest"
} ,
database : "postgres" ,
tests : [ "JUnit5" , "Selenide" , "Retrofit_2" , "Allure" , "gRPC-stub" ] ,
build : "gradle 7.6"
}
//preset:
1. create docker volume : "docker volume create pgdata"
2. launch database: "docker run --name rangiffler-all -p 5432:5432 -e POSTGRES_PASSWORD=secret -v pgdata:/var/lib/postgresql/data -d postgres:15.1"
//launch:
1. set profile for all services ( vm options : - Dspring . profiles . active = local )
2. launch front: 1 ) rangiffler - client npm i
2 ) rangiffler - client npm start
3. run services: rangiffler - auth , rangiffler - gateway , rangiffler - geo , rangiffler - photo , rangiffler - userdata