This backend is built using Spring Boot and provides APIs for user authentication, user management, content management, etc. It integrates with AWS services like S3, Elastic Transcoder and CloudFront for scalable storage, secure video uploading, and content distribution. Spring Security has been configured for role-based access control, to secure API endpoints, and encryption of passwords. CORS has also been configured to enable secure communication between the frontend and backend.
- Java 17
- Spring Boot 3.x
- Spring Security
- Maven
- Hibernate/JPA
- MySQL
- Docker
- AWS S3, Elastic Transcoder, CloudFront
- Postman
- Java 17+
- Maven 3.x or Gradle
- MySQL/PostgreSQL (or your chosen database)
- AWS Account with access to S3, Elastic Transcoder, and CloudFront
- [Any other tools] (e.g., Docker)
-
Clone the repository:
git clone https://github.com/yourusername/your-backend-repo.git cd your-backend-repo
-
Install dependencies:
mvn install
or, if using Gradle:
./gradlew build
-
Set up the database and AWS services as described in the Configuration section.
-
Run the application:
mvn spring-boot:run
or, if using Gradle:
./gradlew bootRun