Code competition application.
This web application is built using Spring Boot (backend) and React (frontend), leveraging microservices architecture for scalability and resilience. It utilizes Kafka for messaging and Eureka for service discovery to facilitate communication and management among the microservices. For more details about the requirements: https://github.com/SimoneLucca2/FeraboliFilippiniLucca/blob/main/DeliveryFolder/RASD-v1.0.pdf (exclude the part of handling badges)
Before you begin, ensure you have met the following requirements:
- JDK 11 or newer
- Node.js and npm
- Docker and Docker Compose (optional for containerization)
The communication between client and server is RESTful, using json serialized messages through HTTP.
For more details about the architecture design: https://github.com/SimoneLucca2/FeraboliFilippiniLucca/blob/main/DeliveryFolder/DD-v1.0.pdf
- Ensure to have docker installed in your system and the docker daemon running.
- Open the terminal and go in the /implementation directory of the ckb project.
- Run docker-compose up sonarqube
- Open the browser
- Go to “http://localhost:9000”
- Access SonarQube – Default user name and password are “admin”
- Click on the user logo on the right side of the screen
- Go on security
- Generate a new token – Choose as token type “user-token”
- Copy the token an put it in the docker-compose.yaml as the value of “SONAR_TOKEN”
- Now go to “github.com”
- Login into your account
- Generate a new token
- Copy the token in the docker-compose.yaml file as the value of “GITHUB_API_TOKEN”
- Set the value of “GITHUB_API_USERNAME” your github name
- Run docker-compose up – This will start the backend API with all the services associated to it.
- Install node.js.
- Use the terminal to move to the /implementation/ckbfronted directory.
- Run the command “npm install react-scripts”.
- Run “npm start” – this will start the web server on port 3000. To use the application just use a browser to connect to :3000.