Developing an Aquafarm Management Application API using Go Fiber, GORM, Postgres, and Docker as storage systems. I successfully implemented CRUD operations for farms and ponds within its relationship model. In addition, I also built a tracking system for API usage statistics for each API request.
Before you can run the application, make sure you have the following prerequisites installed:
- Install Go: You can download and install Go from the official website
- Set up your Go environment if you haven't already, including configuring your
GOPATH
andPATH
variables. - Make sure Golang is installed on your system by running
go version
to check the go version - Make sure Docker is installed on your system by running
docker --version
to check the go version
- Execute the command
docker compose build
to build the Docker images for all services defined in docker-compose.yml file. - Execute the command
docker compose up
to start the containers. - Use the API with base URL
http://127.0.0.1:3000/v1
You can access the Postman API Documentation on this link :
Postman API Documentation