You should be familiar with the following technologies:
- Backend:
- Frontend:
- Node.js version 16.0 or higher
- Java 17 or higher
- Docker Engine or Docker Desktop
To run the application, you need to start the backend and the frontend. You can do this by running each application in a separate terminal.
-
Running it locally using H2 in memory database
-
Update application.properties with spring.profiles.active=local, and run the following commands in the Terminal
-
cd backend ./mvnw spring-boot:run
-
cd frontend npm install npm start
-
-
Running it on an environment using Docker
-
Update application.properties with spring.profiles.active=dev, and run the following commands in the Terminal
-
cd backend docker-compose up # This runs the mysql container and then the app container. Ensure you update the docker-compose file with the app's image.
-