A simple forum application built with Java Spring Boot and Angular.
Frontend is hosted at forum.merzin.dev.
To run the application locally, you need to have Java 21 and Node.js with npm installed on your machine.
- Open the
apidirectory in your terminal. - Copy the
.env.samplefile to.envand set the environment variables. - Run the
migrations.sqlfile in your database. - Run the following command to start the application:
./gradlew bootRun- Open the
webdirectory in your terminal. - Run the following command to install the dependencies:
npm install- Run the following command to start the application:
npm start- Open the
apidirectory in your terminal. - Run the following command to run the tests:
./gradlew test- Open the
webdirectory in your terminal. - Run the following command to run the tests:
npm test