A fitness workout tracker backend application. Where users can create their own workout exercises and much more.
- Users can perform basic authentication including registration, login, logout.
- Users can create as many workouts and add many exercises from the list of available exercises.
- Users can set up times of when to do the workouts.
- Users can update when they are finished with a certain workout.
- Go (Golang): The Go Programming Language.
- PostgresSQL: SQL database.
- Docker: Open-source software for deploying and running of containerized applications.
- Go at least version 1.23
- Docker
- Golang Migrate must be installed globally on your system
-
Clone the repository
git clone https://github.com/maliByaztes/fitness-workout-tracker cd fitness-workout-tracker
-
Create
.postgres.env
and.env
in the root directory. Checkpostgres.example.env
andexample.env
files for examples and required variables.
NOTE: Remember to change the DB_URL
in Makefile according to your postgres.env file.
-
Create postgres container
make up
-
Run migrations against database
make run-migrations
-
Run server
make server
The server should be running on http://localhost:8000
- Gin will log all the available routes when running the server.
This project is licensed under the MIT License - see the LICENSE file for details.
maliByatzes - malib2027@gmail.com
Project Link - https://github.com/maliByatzes/hotel-booking-system