raj8888 / Workout-Fitness-Centre

Workout Fitness Center is a simple sports and wellness app where users can schedule a wellness class created by a wellness-certified trainer and certified trainers can create a wellness class and earn money from them.

Home Page:https://velvety-starburst-b38fa3.netlify.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WorkOut.com

Workout Fitness Center is a simple sports and wellness app where users can schedule a wellness class created by a wellness-certified trainer and certified trainers can create a wellness class and earn money from them.

Features

  • Authentication
  • Authorization
  • Responsive
  • Mail Service
  • Booking a class
  • Create a class(Online / Offline)
  • Payment Feature
  • Google Oauth

Tech Stack

Client: HTML, CSS, JavaScript,Jquery

Server: Node.js, Express.js, Nodemailer,Mongoose

Database: MongoDB, Redis

Run Locally

Clone the project

  git clone https://github.com/raj8888/kind-stitch-7991

Go to the project directory

  cd kind-stitch-7991

Install dependencies

  npm install

Start the server

  node index.js

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

mongourl

port

salt

secretkey

refreshSecretKey

API Reference

Welcome

  GET /api

User / Trainer Register

  POST /api/user/register

User / Trainer Login

  POST /api/user/login

All Classs

  GET /api/class/all

All Users

  GET /api/user/all

Create Class From Trainer Side

  POST /api/class/create

Book Class From User Side

  POST /api/order/checkAvailablity

Update Class (Trainer Only)

  PATCH /api/order/update/:id

Delete Class (Trainer Only)

  DELETE /api/order/delete/:id

Screenshots

Client Dashboard:

App Screenshot

Trainer Dashboard:

App Screenshot

Search Class Page:

App Screenshot

Class Information Page:

App Screenshot

System Design:

App Screenshot

Demo

https://velvety-starburst-b38fa3.netlify.app

Authors

About

Workout Fitness Center is a simple sports and wellness app where users can schedule a wellness class created by a wellness-certified trainer and certified trainers can create a wellness class and earn money from them.

https://velvety-starburst-b38fa3.netlify.app


Languages

Language:JavaScript 47.1%Language:HTML 33.1%Language:CSS 19.8%