This project is a simple fullstack application built with a Java Spring Boot backend and a TypeScript React frontend. The backend serves a mock REST API, while the frontend fetches data from this API and displays it.
- Build and run the application using Docker Compose:
docker compose up --build- Access the frontend application at
http://localhost:3000.
The backend is a Spring Boot application that exposes a simple REST API. The main entry point is located in backend/src/main/java/com/example/DemoApplication.java. The application can be configured using the application.properties file located in backend/src/main/resources.
The frontend is a React application built with TypeScript. The main component is located in frontend/src/App.tsx, which fetches data from the backend and displays it.
Both the backend and frontend applications are containerized using Docker. The Dockerfiles for each application are located in their respective directories.