A full-stack MERN exercise tracker app built using React.
Track Your Performance
- About the Project
- Built With
- Getting Started
- Usage
- Roadmap
- Contributing
- License
- Author
- Acknowledgements
YouTrain is a full-stack MERN App, a Single Page Application that tracks exercises completed by the user. User can create their exercise data by inputting using a form, with data fields including the name of the exercise performed, the number of reps, the amount of weight, the weight unit, and the date the exercise was performed. The exercise data is then populated onto a table on the Home page. User can then click on the pencil icon to edit the exercise, or click on the trash icon to delete the exercise.
The frontend was built with Node and React, and global design features. The backend was built with MongoDB persistence, Mongoose, Express, REST, and Node.
To get a local copy up and running follow these simple example steps.
This is an example of how to list things you need to use the software and how to install them.
- npm
npm install npm@latest -g
- Clone the repo
git clone https://github.com/nelkalm/ExercisesApp.git
- Install NPM packages in the frontend folder
cd frontend
npm install
- Install NPM packages in the backend folder
cd backend
npm install
-
Create a .env file in the frontend folder, and specify the port number PORT=8000.
-
Create a .env file in the backend folder, specify the port number PORT=3000, as well as the Mongo Connection String.
-
Start the project in the backend folder with NPM
npm start
Create an exercise by clicking on CREATE on the nav link.
Edit an exercise by clicking on the pencil icon in the exercises table.
Delete an exercise by clicking on the trash icon in the exercises table.
Distributed under the MIT License. See LICENSE for more information.
- Nelson Lu - OSU Computer Science Student - Nelson Lu - Created the YouTrain App