This repository contains the backend implementation for a social fitness web application built using Spring Boot. It provides various RESTful APIs to manage users, fitness activities, social interactions, and more.
- User Management: Registration, authentication, and profile management.
- Fitness Activities: CRUD operations for workouts, exercises, and tracking progress.
- Social Interaction: Follow friends, share activities, and view fitness feeds.
- Security: Implemented with Spring Security for authentication and authorization.
- Database Integration: Uses MySQL for persistent data storage.
- Testing: Includes unit and integration tests to ensure robustness.
- Posting and Sharing: Users can share posts and videos.
- Interaction: Users can comment on and like relevant posts.
- Profile Management: Users can manage their own posts and view other user profiles.
- Following System: Users can follow others and view posts across different profiles.
- Comment Management: Users can delete and update their comments.
- Messaging: Users can send internal messages through a message box system.
- src/main/java/com/socialfitness: Contains the main application code.
- config: Configuration files for CORS and other settings.
- controller: REST controllers handling HTTP requests.
- exceptions: Custom exceptions for user management and other functionalities.
- models: Entity classes representing database tables.
- repository: Data access layer using Spring Data JPA.
- request: Classes for handling incoming requests.
- response: Classes for formatting outgoing responses.
- service: Business logic and service layer.
- Clone the repository:
git clone https://github.com/Chanuth-silva10/spring-boot-social-fitness-web-app-backend-new.git
- Navigate to the project directory:
cd spring-boot-social-fitness-web-app-backend-new
- Build the project:
./mvnw clean install
- Run the application:
./mvnw spring-boot:run
- Access the application at
http://localhost:8080
Spring Boot | Spring Security | Spring Data JPA | MySQL | Maven | Spring Socket