This project is a Spring Boot application that uses Gradle for build automation. It includes configurations for database migrations using Flyway, Redis connection using Jedis, and password encoding using BCrypt.
- Java 11 or higher
- Gradle
- PostgreSQL
- Redis
git clone https://github.com/vietddude/chirp-chirp.git
cd chirp-chirp
Update the application.properties
or application.yml
file with your database and Redis configurations.
./gradlew bootRun
Flyway is used for database migrations. It automatically runs migrations on application startup.
- FlywayConfig: Configures Flyway for database migrations.
- RedisConfig: Configures Redis connection using Jedis.
- PasswordConfig: Configures BCrypt for password encoding.
- JwtTokenManager: Manages JWT tokens, including generation and validation.
Ensure logging is properly configured in application.properties
or application.yml
to capture application logs.
- Spring Boot
- Flyway
- Jedis
- BCrypt
- SLF4J
- Logback
This project is licensed under the MIT License. See the LICENSE file for details.