- Go REST API's
- Database connection with PostgreSQL
- Serving frontend static files using Go
- Pinia to store API data on frontend
- Dockerized Go backend
- Clone this repo using
git clone https://github.com/mohamedsamara/go-postgres-docker.git
- Move to the directory:
cd <PROJECT_NAME>
.
This will install frontend dependencies and create a build (dist
)
make static
go run *.go
make build
make run
See Makefile