![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen?logo=github) ![Website](https://img.shields.io/website?url=https%3A%2F%2Fgym-tracker.app&logo) ![stars](https://img.shields.io/github/stars/jessedelira/gym-tracker)
Built with ❤︎ by contributors
Gym Tracker is a fitness tracking application to track your workouts, fitness goals, and progress!
I created this project to help escape fumbling with Excel spreadsheets and editing Apple notes while at the gym. I wanted something that was simple to use while at the gym, but also had the functionality that I could use when I wasn't actively working out.
All deployments using vercel are given multiple deployment URLs that are automatically generated. The preview deployment is the latest commit on any active branch on jessedelira/gym-tracker
. The production deployment is the latest commit on the main
branch. So when you click into the preview or production deployments on GitHub you will see autogenerated URLs, note when in production folder of deployments the generated URLs are the same as https://gym-tracker.app
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star!
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)Feel free to deploy however you would like if you don't want to use gym-tracker.app, what is reccomended though for deployment is Vercel. Their services are fantastic to use and free under a hobby account.
If you want to have steps in the README for how to deploy using vercel create an issue and someone can add those steps here.
Preview Deployments Production Deployments
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these steps.
This is a list things you need to use the Gym Tracker.
Clone the repo
$ git clone https://github.com/jessedelira/gym-tracker.git
Create MySQL container
$ docker-compose up -d
Create .env at root of project and add the following:
$ openssl rand -base64 32
to create a NEXTAUTH_SECRET env var DATABASE_URL="mysql://root:password@localhost:3306/gym_tracker"
NEXTAUTH_SECRET="place_here"
NEXTAUTH_URL="http://localhost:3000"
NODE_ENV="development"
Run $ npm install
at root of project to install the dependencies
$ npx prisma migrate dev
to create the database tables and populate the database with seed dataFinally, run $ npm run dev
to start the server
warn Fast Refresh had to perform a full reload. Read more: https://nextjs.org/docs/messages/fast-refresh-reload
Distributed under the MIT License. See LICENSE
for more information.
Jesse De Lira - jessedelira1@gmail.com