Skip to content

This project is aimed at creating a comprehensive website for Prime Fitness Gym, providing information about the gym, its facilities, trainers, and schedules. And Workouts for Different Body Parts

Notifications You must be signed in to change notification settings

Aman254/PrimeFitnessStudio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Prime Fitness Gym Website

Welcome to the Prime Fitness Gym Website repository! This repository contains the codebase for our gym's website.

Project Setup

Cloning the Project

git clone <repository-url>

Backend Setup

cd backend
npm install

Backend Configuration

Create a file named config.env in the backend folder and add the following environment variables:

PORT=5000
DATABASE=<YOUR_MONGODB_URI>
JWT_SECRET=<YOUR_JWT_SECRET>
JWT_EXPIRES_IN=90d

Frontend Setup

cd frontend
npm install

Frontend Configuration

Create a file named .env in the root of the frontend folder and add the following environment variable:

REACT_APP_API_URL=http://localhost:5000/api/v1

Import Development Data

In the backend folder, navigate to the data folder and run the following command:

cd backend/Data/data
node import-dev-data.js

Usage

Once you've set up the project, you can run the backend and frontend servers:

Run Backend Server

cd backend
npm start

Run Frontend Server

cd frontend
npm start

About

This project is aimed at creating a comprehensive website for Prime Fitness Gym, providing information about the gym, its facilities, trainers, and schedules. And Workouts for Different Body Parts

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages