Skip to content

Karan-githubb/Omnify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fitness Studio Booking API

A Django REST framework API for managing fitness class bookings with Swagger/OpenAPI documentation.

Features

  • Class listing with available slots
  • Booking management
  • Client booking history
  • Interactive API documentation
  • Timezone-aware scheduling

Setup

Prerequisites

  • Python 3.8+
  • Django 3.2+
  • SQLite (included) or PostgreSQL

Installation

  1. Clone the repository: git clone https://github.com/Karan-githubb/Omnify.git cd Omnify

  2. Create and activate virtual environment: python -m venv venv source venv/bin/activate # Linux/Mac venv\Scripts\activate # Windows

  3. Install dependencies: pip install -r requirements.txt

  4. Run migrations: python manage.py migrate

  5. Create admin user: python manage.py createsuperuser

  6. Seed sample data: python manage.py seed_classes

Running the Server

python manage.py runserver

API Documentation

Access interactive documentation at:

Endpoints

Endpoint Method Description
/classes/ GET List all upcoming classes
/book/ POST Create a new booking
/bookings/ GET Get bookings by client email

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages