An open API service indexing awesome lists of open source software.

https://github.com/ananthuspace/fitfusion-server

FitFusionApp is a comprehensive fitness web application designed to enhance physical health and wellness journeys. This repository focuses on the backend development of FitFusionApp, which supports three primary portals: User, Trainer, and Admin. Each portal provides tailored functionalities to meet the unique needs of different user types.
https://github.com/ananthuspace/fitfusion-server

express javascript jwt mongodb nodejs typescript

Last synced: 2 months ago
JSON representation

FitFusionApp is a comprehensive fitness web application designed to enhance physical health and wellness journeys. This repository focuses on the backend development of FitFusionApp, which supports three primary portals: User, Trainer, and Admin. Each portal provides tailored functionalities to meet the unique needs of different user types.

Awesome Lists containing this project

README

          

# FitFusion Server

Welcome to **FitFusion Server** β€” the powerhouse behind your fitness journey! Whether you're a fitness enthusiast looking to level up your routine or a certified trainer ready to share your expertise, FitFusion is here to connect you with the best resources for your health goals.

This backend system powers **real-time communication**, **fitness content**, **trainer management**, and much more. Get ready to transform your fitness experience, one API request at a time!

## Features

- **User & Trainer Management**: Create, manage, and authenticate users and trainers. Easily approve or block trainers, and offer personalized workout plans.
- **Real-Time Communication**: Say goodbye to lag! Real-time chat and video calls powered by **WebSockets** and **WebRTC** ensure you're always in touch with your fitness journey.
- **Fitness Content**: Access a wide range of workout plans, diet recommendations, and progress tracking β€” all designed to help you achieve your fitness goals.
- **File Uploads**: Upload and access files seamlessly with **Multer** and store them securely in **AWS S3**.
- **Payments Made Easy**: Subscriptions and cancellations? All handled securely via **Stripe**.
- **Google Authentication**: Users can log in seamlessly using **Google OAuth**, making registration and login smooth and easy.
- **Admin Tools**: Supercharge your admin panel with user and trainer management, and system-wide settings β€” making it easier than ever to keep things running smoothly.
- **Secure Authentication**: Stay safe with JWT-based authentication, ensuring only the right users get access to what they need.
- **Scalable & Modular**: Built to scale and evolve β€” extend and update the system as you see fit.

## Technologies & Tools

- **Backend Framework**: Node.js + Express
- **Database**: MongoDB (with Mongoose for schemas)
- **Authentication**: JSON Web Tokens (JWT) + Google OAuth
- **Real-Time Communication**: WebSockets & WebRTC
- **File Handling**: Multer + AWS S3 for uploads
- **Payment Gateway**: Stripe for secure payments
- **Environment Management**: `.env` configuration for flexibility

## πŸ— Project Structure

Here’s how I’ve laid out the code for maximum clarity and organization:

```
fitfusion-server/
β”‚
β”œβ”€β”€ src/
β”‚ β”œβ”€β”€ config/ # All your config files, from database to services
β”‚ β”œβ”€β”€ controllers/ # Handles your API requests like a pro
β”‚ β”œβ”€β”€ interfaces/ # TypeScript interfaces to keep things strongly-typed
β”‚ β”œβ”€β”€ models/ # Mongoose schemas to define your data structure
β”‚ β”œβ”€β”€ repositories/ # Where the database magic happens
β”‚ β”œβ”€β”€ routes/ # API routes β€” your endpoints to the outside world
β”‚ β”œβ”€β”€ services/ # Core services and business logic
β”‚ └── app.ts # The main entry point β€” the heart of your app
β”‚
β”œβ”€β”€ .env # Environment variables (keep them secret!)
β”œβ”€β”€ package.json # Manage dependencies, scripts, and more
└── README.md # You're here!
```

## Contributing

I love a good contribution! Whether it’s a bug fix, a feature request, or a cool new idea β€” if you think you’ve got something to add, fork this repo and create a pull request. Let’s make FitFusion even better, together!

## Author

Made with Love by **Ananthu Mohan**
Let’s connect! [GitHub](https://github.com/AnanthuSpace)

---

Thank you for checking out **FitFusion Server**. I'm excited to have you on this fitness adventure with me!

If you like what you see, don't forget to give me a star . It’s like a protein shake for my repo β€” it helps me grow stronger!