Skip to content

The project aims to create a fitness social media platform using a Java-based Spring Boot REST API and a React-based client web application for user-friendliness.

Notifications You must be signed in to change notification settings

Yeshmantha/Fitness-Social-Media-Platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Fitness Social Media Platform

The project was designed to create a social media platform tailored to fitness lovers. The platform allows users to share their fitness journeys, and workouts through a Java-based Spring Boot REST API and a React-based client web application. The application highlights React-based user-friendliness and simplicity, catering to individuals with varying levels of technical expertise.

Key Features:

  • Media Sharing: Users can upload photos showcasing their fitness activities.
  • Workout Status Updates: Users can share updates on their current workout status with predefined templates.
  • Workout Plan Sharing: Users can share and customise their workout plans.
  • Interaction: Users can like and comment on posts.
  • Profiles: Users can view and follow other profiles, displaying all fitness-related posts and activities.

Technologies Used:

  • Backend: Spring Boot, Spring Security, OAuth 2.0
  • Frontend: React
  • Database: MongoDB
  • Version Control: Git, GitHub

How to Install and Run the Project

Prerequisites:

  • Java Development Kit (JDK) 11 or later
  • Node.js and npm
  • MySQL or other relational database

Backend (Spring Boot):

  1. Clone the repository:

    git clone https://github.com/Yeshmantha/Fitness-Social-Media-Platform.git
  2. Navigate to the backend directory:

    cd Fitness-Social-Media-Platform/paf-backend
  3. Update the application.properties file with your database credentials.

    spring.data.mongodb.uri=your_mongodb_uri
    spring.data.mongodb.database=your_database_name
  4. Build and run the Spring Boot application:

    ./mvnw spring-boot:run

Frontend (React):

  1. Navigate to the frontend directory:
    cd Fitness-Social-Media-Platform/paf-frontend
  2. Install the dependencies:
    npm install
  3. Start the React application:
    npm start

Tests

To run tests for the application:

Backend:

  1. Navigate to the backend directory:
    cd Fitness-Social-Media-Platform/paf-backend
  2. Run the tests:
    ./mvnw test

Frontend:

  1. Navigate to the frontend directory:
    cd Fitness-Social-Media-Platform/paf-frontend
  2. Run the tests:
    npm test

How to Contribute to the Project

  1. Fork the repository.
  2. Create your feature branch:
    git checkout -b feature/YourFeature
  3. Commit your changes:
    git commit -m 'Add some feature'
  4. Push to the branch:
    git push origin feature/YourFeature
  5. Open a pull request.

About

The project aims to create a fitness social media platform using a Java-based Spring Boot REST API and a React-based client web application for user-friendliness.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published