- Go 1.19+
- Docker
- Docker Compose
- Clone the repository:
git clone https://github.com/masb0ymas/gofi.git
- Navigate to the project directory:
cd gofi
- Run the setup script:
bash setup.sh
- Create a database according to
.env
- Install golang-migrate:
go install github.com/golang-migrate/migrate/v4/cmd/migrate@latest
- Run migrations:
make migration-up
- Navigate to the project directory:
cd gofi
- Run the server:
make dev
- For production, run the server with command:
make start
- Access the API:
http://localhost:8000