I built this API to gain deeper knowledge about Laravel-powered APIs and to track my personal fitness progress. Despite the abundance of fitness tracking apps, I wanted to create my own so I could learn more about APIs and customize it to my specific needs.
I plan to utilize Laravel as the backend server and the API for my frontend, which will be built using React.
- PHP 8.0+
- Clone repository
- Create a MySQL database
- Fill in the database credentials in the .env.example file and change filename to .env
- run commands:
- php artisan migrate
- php artisan db:seed
- php artisan serve
To create or manage exercises or workouts, authentication is required. Upon logging in, you will receive a response with a token. A pre-configured account will also be available for use when seeding data. Please see the credentials below.
user credentials:
- email = [email protected]
- password = password