FitBuddy is a comprehensive fitness tracking web application. It helps users track their workouts, monitor progress, and achieve their fitness goals.
- Introduction
- Features
- Technology Stack
- Setup and Installation
- Usage
- Directory Structure
- Contributing
- License
FitBuddy provides a platform for users to track their fitness activities, set goals, and view their progress over time. Whether you're a beginner or a seasoned athlete, FitBuddy offers the tools you need to stay on track.
- User authentication and profile management
- Workout tracking
- Progress monitoring
- Goal setting
- Community features (sharing progress, following friends)
- Node.js
- Express.js
- MongoDB
- React.js
- Redux
- Material-UI
- Cryptocurrency API (e.g., CoinGecko)
- Node.js and npm installed
- MongoDB installed and running
-
Navigate to the backend directory:
cd backend
-
Install the dependencies:
npm install
-
Create a
.env
file and configure the environment variables:PORT=5000 MONGO_URI=your_mongodb_connection_string JWT_SECRET=your_jwt_secret
-
Start the backend server:
npm start
-
Navigate to the frontend directory:
cd ../frontend
-
Install the dependencies:
npm install
-
Start the frontend development server:
npm start
- Open your web browser and go to
http://localhost:3000
. - Register a new account or log in with an existing account.
- Start tracking your workouts and monitor your fitness progress.
Fit-Buddy/
├── backend/
│ ├── controllers/
│ ├── models/
│ ├── routes/
│ ├── utils/
│ ├── .env.example
│ ├── server.js
│ └── package.json
├── frontend/
│ ├── src/
│ │ ├── components/
│ │ ├── pages/
│ │ ├── redux/
│ │ ├── App.js
│ │ └── index.js
│ ├── public/
│ ├── .env.example
│ └── package.json
├── .gitignore
├── README.md
├── package-lock.json
└── package.json
In this structure:
The Backend folder contains all the backend code files. The Frontend folder contains all the frontend code files.