- port: 5433
- password: skibidi
- User authentication and role-based access control
- Game collection management for game owners
- Event creation and event registration system
- Borrow requests
- Java Spring Boot backend
- PostgreSQL database
- RESTful API architecture
- Gradle build system
- Comprehensive tests (JUnit)
- Development tasks and sprint planning managed through GitHub Issues
For the password reset functionality to work, you need to configure email credentials in your environment variables or in a .env file.
- Copy the
.env.examplefile to a new file named.env - Update the email credentials in the
.envfile:EMAIL_USERNAME=your-email@gmail.com EMAIL_PASSWORD=your-app-password
Note for Gmail users: If you're using Gmail and have 2-Step Verification enabled, you'll need to generate an App Password:
- Go to your Google Account settings
- Navigate to Security → App passwords
- Generate a new app password for the application
- Use this password in the
.envfile instead of your regular password
The system will use these credentials to send password reset emails without requiring manual authentication through the console.
The application uses JSON Web Tokens (JWT) for authentication. You need to configure a secure secret key:
- In your
.envfile, set a strong secret key that is at least 64 bytes (512 bits) long:JWT_SECRET=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZab
Important:
- The JWT secret must be at least 64 bytes long as it's using the HS512 algorithm.
- The JWT secret must NOT contain hyphens or special characters that are invalid in Base64 encoding. Use only letters, numbers, and underscores.
<type of commit>: <short description of feature(s) affected/what was done>
Ex: Feature: Implementing email sending to customers upon successful cart checkoutEx: Fix: Fixed bug where Bogo sort would not run in O(n!)Ex: Mtn: Refactored code to make it more readable