This is the backend service for Tactical Hacker, a comment backend service for all sub-orgs under the Tactical Hacker organization.
The backend is built using Spring Boot and exposes RESTful APIs for:
- Admin operations (inviting clients, assigning contracts)
- Client operations (accepting onboarding, signing contracts)
- Secure contract generation using predefined templates
- Role-based authentication and audit logging
- Java 21
- Spring Boot 3.x
- Spring Security + JWT
- PostgreSQL
- Maven
- Docker (optional)
- JavaMailSender (for email)
git clone https://github.com/TacticalHacker/th-backend.git
cd th-backend
Create an .env
file or set the following variables in application.properties
:
SPRING_DATASOURCE_URL
SPRING_DATASOURCE_USERNAME
SPRING_DATASOURCE_PASSWORD
MAIL_USERNAME
MAIL_PASSWORD
JWT_SECRET
./mvnw clean package
./mvnw spring-boot:run
./mvnw test
- Fork the repository
- Create a new branch (
git checkout -b feature/feature-name
) - Commit your changes (
git commit -am 'Add feature'
) - Push to the branch (
git push origin feature/feature-name
) - Open a Pull Request
This project is licensed under the MIT License.