- This is a full-stack MERN project that allows users to track their workouts. Users can log exercises, view their workout history, and monitor their progress over time.
- Traditional workout tracking methods lack cohesion and accessibility, leading to disjointed exercise monitoring and limited progress analysis for users..
- Introducing a comprehensive MERN-based platform, enabling seamless exercise logging, comprehensive workout history tracking, and personalized progress visualization, empowering users to optimize their fitness journey efficiently.
- Secure user registration and login.
- Role-based access control for trainers, athletes, and administrators.
- Easy creation and maintenance of user profiles with essential details.
- Trainers can input workout plans and progress updates.
- Detailed display of exercise routines and performance metrics.
- Comprehensive tracking of workout history and progress.
- Setting and monitoring fitness goals for better progress tracking.
- Security: Implementing robust measures to protect user data.
- User Experience: Providing a seamless and intuitive interface.
- Performance: Ensuring swift response times and system efficiency for optimal user experience.
- Cypress Slow Down: 1.3.1 - Middleware to slow down responses during testing.
- PrimeFlex: 3.3.0 - A lightweight flexbox CSS utility library.
- PrimeIcons: 6.0.1 - Icon library for PrimeNG.
- Node.js installed on your machine
- MongoDB instance (local or remote)
Follow these steps to set up and run the PharmaLab project locally:
https://github.com/Oussemasahbeni/Workout-Tracker-mern-project.git
- Navigate to the Backend Directory:
cd Workout-Tracker-mern-project/backend
- Install Backend Dependencies:
npm install
- Configure Environment Variables:
- Create a .env file in the back directory.
- Set up necessary variables such as database connection details, JWT secret, etc.
- Run the Express Backend:
npm start
The Express backend should be running at http://4000 or the port you set up in your .env file
- Navigate to the Frontend Directory:
cd Workout-Tracker-mern-project/frontend
- Install Frontend Dependencies:
npm install
- Configure React Environment::
- Update configuration in the .env with backend API URL, etc.
- Run the React Frontend:
npm start
The react frontend should be running at http://localhost:3000.
Now, the project is cloned, and both the Express backend and react frontend are set up locally. Adjust the instructions based on your project structure and requirements.
We welcome contributions to PharmaLab! Follow these guidelines to get started:
Follow the coding standards and conventions outlined in the CONTRIBUTING.md file.
Maintain code readability and consistency.
- Create a New Branch:
git checkout -b feature/your-feature-name
- Make Changes and Commit:
- Implement your changes and commit them.
git commit -m "Add feature: your-feature-name"
- Push Changes to Your Fork:
git push origin feature/your-feature-name
- Submit a Pull Request:
- Open a pull request against the
main
branch on the Workout-Tracker GitHub repository.
- Review and Merge:
- The maintainers will review your pull request, provide feedback, and merge it once approved.
If you find any issues or have feature requests, please open an issue on the Workout-Tracker GitHub Issues page.
Thank you for contributing to Workout-Tracker! Your efforts help make this project better.
This project is licensed under the MIT License.
π Feel free to use, modify, and distribute the codebase. Contributions are welcome!
I extend my sincere appreciation to the following tools, libraries, and resources that have been instrumental in shaping and enhancing this project:
- Node.js: The JavaScript runtime that powers the server-side of our application.
- Express.js: The fast, unopinionated, minimalist web framework for Node.js.
- Reactr: The framework empowering the development of our dynamic frontend.
- MongoDB: The flexible and scalable NoSQL database that stores our data.
- GitHub: The platform that facilitates collaborative coding and version control.
- Cypress: The end-to-end testing framework ensuring the reliability of our application.
- PrimeReact: The UI component library for react that enhances the aesthetics and functionality of our user interface.
These tools and resources have played a crucial role in bringing our vision to fruition. We express our gratitude to the dedicated individuals behind these projects and the broader open-source community. π
For any questions, issues, or collaboration inquiries related to PharmaLab, feel free to reach out to us:
- Email: [email protected]
- GitHub Issues: Workout-Tracker GitHub Issues
- Collaboration: We welcome contributions! Check out our Contribution Guidelines for details.
Connect with me and be a part of enhancing Workout-Tracker! We appreciate your feedback and contributions.