The application is built using the MERN stack (MongoDB, Express.js, React, and Node.js) for HyperionDev final Capstone project, this platform provides a user-friendly
interface for efficient collaboration between trainer and client. This project inspired due to my personal struggle in keeping my fitness goal and a lack of platform that allow collaboration between personal trainer and a client.
The cloud based Personal trainer Diary Application (PTDiary) is designed for professional Personal trainers and clients. A personal trainer will be able to add and assign workout to their clients.
Clients will be able to only access the workout plan addressed to them.
Personal trainers with multiple clients need to monitor client's fitness performance and assign each client with a workout plan. Traditional methods of tracking through spreadsheets or manual systems do not allow collaboration. The Cloud-Based Personal trainer Diary Application aims to address these challenges by providing a centralised platform for workout plan, enabling creation of workout and assigning those workout to a specific client. The MERN stack ensures scalability, while the integration of Redux Toolkit, Headless UI, and CSS enhances user experience and performance.
-
React (CRA) Redux Toolkit for State Management CSS
-
Node.js with Express.js
-
MongoDB for efficient and scalable data storage.
-
JEST /Supertest
- Workout Management:
- Assign Workout plans to individual clients.
- View, Create and Delete workout plans.
View assigned Workout plans from their personal trainer
- Authentication and Authorization using JWT.
- Allow user to create an account as a personal trainer or Client.
- Role-based access control.
- View user profiles.
- View instruction for application.
Navigate into the frontend directory cd frontend.
- Run npm i or npm install to install the packages.
- Run npm start to run the app on http://localhost:3000.
- Open http://localhost:3000 to view it in your browser.
- SETUP INSTRUCTIONS
- Server Setup
- Environment variables
- First, create the environment variables file .env in the server folder. The .env file contains the following environment variables:
MONGODB_URI = your MongoDB URL JWT_SECRET = any secret key - must be secured PORT = 8800 or any port number NODE_ENV = development