Skip to content

Latest commit

 

History

History
172 lines (134 loc) · 5.41 KB

README.md

File metadata and controls

172 lines (134 loc) · 5.41 KB

ABOUT THE PROJECT

GO FIT

html

Welcome to Go Fit, the ultimate sports and wellness app designed to help users and certified fitness trainers to get together and work on the fitness goal on one platform.


Our system provides a user-friendly platform that enables users to browse, book, and cancel fitness classes with ease. Our platform empowers trainers to create classes with comprehensive information such as class time, venue, date, and more. Additionally, all-encompassing administrative interface that enables authorized personnel to perform a wide range of operations, including Create, Read, Update, and Delete (CRUD) functions.

TECH STACKS USED

html CSS js nodejs express mongo npm


Features

  • Authentication
  • API Validation
  • Responsive
  • Cross Platform
  • Different Interface for both Users and Trainers
  • Registeration/Signin/Logout
  • Class Creation
  • Class Booking
  • Admin can perform all CRUD operations

Run Locally

Clone this Project

https://github.com/atir09/spicy-bushes-5520.git

Install npm Packages

npm i --global

Go to Backend Folder

cd Backend

Run Server

npx nodemon index.js

Runs the project in the development mode

http://localhost:9876

Environment Variables Required

mongourl

secretKey + refreshSecretKey + salt

port

Redis Cloud: Password + Host + Port

Nodemailer: Email + Password

NPM Packages

bcrypt.png cors dotenv jwt mongoose.png nodemon.png

API Endpoints

Welcome

GET  /

Registration

POST  /user/register

Signin

POST  /user/logout
POST  /auth/google

User

GET /user/
GET /user/all
GET /user/:id
POST  /user/register
PATCH /user/update/:id
DELETE /user/delete/:id

Trainer

GET /alltrainer
GET /user/singletrainer/:id

Admin

POST /user/login
Credentials: 
admin@gmail.com
admin
GET /admin/
GET /admin/all
Project Highlights

Landing Page

Landing_Page

Client Dashboard

User_Dashboard

Trainer Dashboard

Trainer_Dashboard

Class Information

Class_Information

Admin Dashboard

Admin_Dashboard