verbose
verbose
JCHJava Community | Help. Code. Learn.
Created by verbose on 11/21/2024 in #java-help
How do I handle an assignment like this folder structure wise?
I shall consider this closed thanks for the help @dan1st @Kyo-chan :thumbsupcat:
35 replies
JCHJava Community | Help. Code. Learn.
Created by verbose on 11/21/2024 in #java-help
How do I handle an assignment like this folder structure wise?
such a world were microservices are implemented for something that doesnt even need to be a microservice but for the sake of the name
35 replies
JCHJava Community | Help. Code. Learn.
Created by verbose on 11/21/2024 in #java-help
How do I handle an assignment like this folder structure wise?
ah the dream to work as a java developer
35 replies
JCHJava Community | Help. Code. Learn.
Created by verbose on 11/21/2024 in #java-help
How do I handle an assignment like this folder structure wise?
yeah I know but the assignment states otherwise 😂
35 replies
JCHJava Community | Help. Code. Learn.
Created by verbose on 11/21/2024 in #java-help
How do I handle an assignment like this folder structure wise?
from the requriements we have 2 microservices one react frontend (which is not) and then a backend microservice
35 replies
JCHJava Community | Help. Code. Learn.
Created by verbose on 11/21/2024 in #java-help
How do I handle an assignment like this folder structure wise?
gpt came up with this
35 replies
JCHJava Community | Help. Code. Learn.
Created by verbose on 11/21/2024 in #java-help
How do I handle an assignment like this folder structure wise?
blood-bank-system/
├── eureka-server/ # Service registry
│ ├── src/
│ │ ├── main/java/com/eureka/server
│ │ │ └── EurekaServerApplication.java
│ ├── resources/application.yml
│ └── pom.xml
├── blood-bank-service/ # Micro-Service 1: Blood Bank API
│ ├── src/
│ │ ├── main/java/com/bloodbank
│ │ │ ├── controller/ # REST Controllers
│ │ │ ├── service/ # Service Layer
│ │ │ ├── entity/ # JPA Entities
│ │ │ ├── repository/ # JPA Repositories
│ │ │ ├── dto/ # Data Transfer Objects
│ │ │ └── BloodBankServiceApplication.java
│ ├── resources/
│ │ ├── application.yml # Eureka Client Config
│ │ ├── validation.properties # Custom Validation Messages
│ └── pom.xml
├── react-frontend/ # Micro-Service 2: React Frontend
│ ├── src/
│ │ ├── components/ # React Components
│ │ ├── services/ # Axios for API Calls
│ │ ├── App.js # Main App Component
│ │ ├── index.js # Entry Point
│ │ ├── routes/ # React Router
│ ├── public/
│ ├── package.json
├── shared-library/ # Shared DTOs or Utilities (optional)
│ ├── src/
│ │ ├── main/java/com/shared
│ └── pom.xml
├── docker-compose.yml # Docker Compose for all services
└── README.md
blood-bank-system/
├── eureka-server/ # Service registry
│ ├── src/
│ │ ├── main/java/com/eureka/server
│ │ │ └── EurekaServerApplication.java
│ ├── resources/application.yml
│ └── pom.xml
├── blood-bank-service/ # Micro-Service 1: Blood Bank API
│ ├── src/
│ │ ├── main/java/com/bloodbank
│ │ │ ├── controller/ # REST Controllers
│ │ │ ├── service/ # Service Layer
│ │ │ ├── entity/ # JPA Entities
│ │ │ ├── repository/ # JPA Repositories
│ │ │ ├── dto/ # Data Transfer Objects
│ │ │ └── BloodBankServiceApplication.java
│ ├── resources/
│ │ ├── application.yml # Eureka Client Config
│ │ ├── validation.properties # Custom Validation Messages
│ └── pom.xml
├── react-frontend/ # Micro-Service 2: React Frontend
│ ├── src/
│ │ ├── components/ # React Components
│ │ ├── services/ # Axios for API Calls
│ │ ├── App.js # Main App Component
│ │ ├── index.js # Entry Point
│ │ ├── routes/ # React Router
│ ├── public/
│ ├── package.json
├── shared-library/ # Shared DTOs or Utilities (optional)
│ ├── src/
│ │ ├── main/java/com/shared
│ └── pom.xml
├── docker-compose.yml # Docker Compose for all services
└── README.md
35 replies
JCHJava Community | Help. Code. Learn.
Created by verbose on 11/21/2024 in #java-help
How do I handle an assignment like this folder structure wise?
thats just convention for the class
35 replies
JCHJava Community | Help. Code. Learn.
Created by verbose on 11/21/2024 in #java-help
How do I handle an assignment like this folder structure wise?
yeah I will be using maven
35 replies
JCHJava Community | Help. Code. Learn.
Created by verbose on 11/21/2024 in #java-help
How do I handle an assignment like this folder structure wise?
nothing about the services will be common, they each have their own controllers, repository, dtos, service
35 replies
JCHJava Community | Help. Code. Learn.
Created by verbose on 11/21/2024 in #java-help
How do I handle an assignment like this folder structure wise?
I just searched it up ill give it a read
35 replies
JCHJava Community | Help. Code. Learn.
Created by verbose on 11/21/2024 in #java-help
How do I handle an assignment like this folder structure wise?
no not really first time hearing it
35 replies
JCHJava Community | Help. Code. Learn.
Created by verbose on 11/21/2024 in #java-help
How do I handle an assignment like this folder structure wise?
I dont think seperate repositories will make this easier
35 replies
JCHJava Community | Help. Code. Learn.
Created by verbose on 11/21/2024 in #java-help
How do I handle an assignment like this folder structure wise?
that makes sense I had gpt generate something similar but I really want to go the monorepo route for this
35 replies
JCHJava Community | Help. Code. Learn.
Created by verbose on 11/21/2024 in #java-help
How do I handle an assignment like this folder structure wise?
so like a shared folder for the common code and then every other service its in its own folder with a appropriate name and bundled with Maven
35 replies
JCHJava Community | Help. Code. Learn.
Created by verbose on 11/21/2024 in #java-help
How do I handle an assignment like this folder structure wise?
yeah its ridiculous but its supposed to teach us about microservices with spring, which im being honest its really not going to be doing that with something this simple
35 replies
JCHJava Community | Help. Code. Learn.
Created by verbose on 11/21/2024 in #java-help
How do I handle an assignment like this folder structure wise?
only a backend, then a frontend theres really no need for microservice in the backend as to my knowledge but I may be wrong
35 replies
JCHJava Community | Help. Code. Learn.
Created by verbose on 11/21/2024 in #java-help
How do I handle an assignment like this folder structure wise?
If I can sum it up in a single sentence or 2: this is a microservice project using eureka but theres nothing microservice about it??
35 replies