Skip to content

Karunlk/IFRMS

Repository files navigation

IFRMS — Integrated Fitness & Resource Management System

A web application to manage gym memberships, resources, staff, and fitness tracking — built as a DBMS course project.


About the Project

This project was developed as a team project for the DBMS (CS2011E) course at the National Institute of Technology Calicut (NITC), under the guidance of Dr. A. Sudarshan Chakravarthy.

The Inspiration

The idea came from a real problem faced by some of our gym-going friends — including one of our own team members. At our college gym, members are required to physically visit the gym every month just to renew their membership, and all money transactions are recorded manually in a notebook. There's no digital record, no convenience, and no accountability.

We decided to take on this problem as our DBMS project and build a dedicated web application to address it.

Note: The current version of IFRMS focuses on membership management and resource management only. It is not a complete solution to the problem we described. We are planning to integrate online payment for membership renewal directly within the application in a future version.


Aim

To design and develop a complete, working web application dedicated to managing:

  • Gym resources (equipment, scheduling)
  • Customer memberships and fitness tracking
  • Staff (trainers and admins)

Team

Group: DBCREW — DBMS Course Project

K.D. Karun Lakshman, N. Jatin, A.N.S. Thanush Reddy, J. Manish Reddy,


Tech Stack

Layer Technology
Frontend Next.js
Backend Node.js + Express
Database PostgreSQL/MYSQL
Auth JWT (JSON Web Tokens)
Payments (planned) Stripe / PayPal

Features

Member

  • Register and log in securely
  • View and update profile
  • Enroll in fitness programs
  • View assigned workout plans
  • Track fitness progress

Trainer

  • Create and assign workout plans to members
  • Record and monitor member progress
  • Schedule training sessions

Admin

  • Manage gym equipment and maintenance status
  • Assign trainers to members
  • Generate reports on facility usage and member activity

Project Structure

IFRMS/
├── README.md
├── docs/
│   ├── SRS.pdf                  # Software Requirements Specification
│   ├── SDD.docx                 # System Design Document
│   └── ER_Diagram.drawio        # Chen's ER Diagram
├── code_base/
│   ├── frontend/                # Next.js app
│    └── backend/                # Node.js + Express API
└── database/
│  └── schema.sql                # PostgreSQL schema
├── User_manual                  # instructions to use
└──Implementation and testing    # screenshots of implementation and testing

Documentation

All project documentation is available in the docs/ folder:



Roadmap

  • SRS Documentation
  • System Design Document
  • ER Diagram
  • Database schema (PostgreSQL)
  • Backend REST API
  • Frontend UI
  • Member registration & login
  • Trainer & admin dashboards
  • Equipment management module
  • Progress tracking module
  • Report generation
  • Online payment for membership renewal (planned for v2.0)

Getting Started

Prerequisites

  • Node.js (v18+)
  • PostgreSQL (v14+)
  • npm or yarn

Installation

  1. Clone the repository

    git clone  https://github.com/Karunlk/IFRMS
    cd IFRMS
  2. Set up the database

    psql -U postgres -f database/schema.sql

    also read the read me file for other .sql files

  3. Configure environment variables

Update .env file in the code_base/ directory:

DB_HOST=localhost
DB_PORT=5432
DB_NAME=ifrms
DB_USER=your_db_user
DB_PASSWORD=your_db_password
JWT_SECRET=your_jwt_secret
PORT=5000
  1. Install and run the website
    cd ifrmsweb
    npm install
    npm run dev
  2. Open your browser at http://localhost:3000

📜 License

This project is developed as part of an academic assignement for DBMS Theory course and licensed under MIT free license

"Built to solve a real problem, one query at a time." 💪

About

A working complete web application to integrate fitness management and resource management for gyms.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages