- Ensure that
npmis installed on your machine
cd frontend
npm i # install packages
npm run dev # run local dev server
- The Next.js server will start on port 3000
- The frontend UI can be accessed at: http://localhost:3000
-
Java 21: Ensure Java 21 is installed.
java -version
-
IDE: You can use either IntelliJ or VS Code
-
Create a
.envfile in the same directory (same level aspom.xml) and paste the following:DATABASE_URL=your-database-url DATABASE_USERNAME=postgres DATABASE_PASSWORD=your-password GOOGLE_CLIENT_ID=your-google-client-id GOOGLE_CLIENT_SECRET=your-google-client-secret REDIRECT_URI=redirect_URI
- Maven: Ensure Maven is installed and
mvnis available in your terminal.mvn -v
-
Ensure you are inside the
backenddirectory. -
Start the backend:
mvn clean spring-boot:run
- Open the
/backenddirectory as the project root in IntelliJ. - Set up environment variables in run configurations (in
Edit Run Configuration) - Click the Run icon at the top right corner.
- API Endpoint: http://localhost:8080
- Swagger API Docs: http://localhost:8080/swagger
- Refer to CONTRIBUTING.md