repository
0.0.0-20240416124438-4e243045975e
Repository: https://github.com/briannbig/go-blogr.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# README
go blogr...
...is a simple blog application rest api in golang using mux as router and gorm as orm.
Getting started
- Start postgres docker instance
docker run --name blogr_postgres -e POSTGRES_PASSWORD=bl0gr -e POSTGRES_DB=blogr_api -e POSTGRES_USER=blogr -p 5442:5432 -d postgres:alpine
-
Install dependencies
go mod download
-
Start server
go run cmd/main.go
-
Access the API from your browser at
:8080