Fit-Track is an exercise log-tracking application built using the MERN (MongoDB, Express, React+Vite, Node.js) stack. This documentation will guide you through the process of contributing to this project.
frontend directory:
cd frontendnpm installnpm run devNavigate to the backend directory:
cd backendInstall the dependencies:
npm installSetup MongoDB Atlas:
mongodb+srv://<username>:<password>@cluster0.mongodb.net/?retryWrites=true&w=majority
<username> and <password> with your actual MongoDB Atlas username and password. Copy the entire connection string.Add MongoDB ATLAS_URI to .env file:
.env file in the backend directory..env file, replacing <your-mongodb-connection-string> with the connection string you copied from MongoDB Atlas:
ATLAS_URI=mongodb+srv://<username>:<password>@cluster0.mongodb.net/fit-track?retryWrites=true&w=majorityStart the server:
node server.jsor if nodemon is installed for live updates of backend:
nodemon server.jsThe frontend directory contains the React application.
public: Contains the public assets of the application.src: Contains the source code of the application.
components: Reusable UI components.
Home: HomePage Components
Exercise: Exercise row component to display Duration, Status, dayCheckExercisesList: To display the List of exercises done by userHeatMap: Powered by ApexCharts.js to display the user exercise routineQuotes: From API Ninjas and display the quotes randomly to motivate the userTotalDays: To display number of days the user exercisedUserExperience: To display the User Experience with gamified experienceUserRoutine: To display the weekly routine of User like a streakHomePage: Displaying and rendering Home PageLogin: Displaying a Login PageSignUp: Displaying a SignUp and edit User Pagenavbar: Navbar ComponentApp.jsx: The main component that sets up routes.main.jsx: The entry point of the React application.The backend directory contains the Node.js server and Express application.
models: Contains the Mongoose schemas.
exercise.model: Exercise Schemauser.model: User Schemaroutes: Contains the API routes.
exercises: Backend API Routes for exercisesuser: Backend API Routes for usersserver.js: The entry point of the server application.We welcome contributions! To contribute to Fit-Track, follow these steps:

git clone https://github.com/your-username/Fit-Track.gitcd Fit-Trackgit switch -c your-branch-namegit add .git commit -m "Description of your changes"git push origin your-branch-nameThis is just the beginning! I look forward to making more meaningful contributions and collaborating with this amazing community. Let's build something great together and make Fit-Track the best it can be! ❤️?
This project is licensed under the MIT License - see the LICENSE file for details.