Categorygithub.com/briannbig/go-blogr
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

  1. 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
  1. Install dependencies

    go mod download
    
  2. Start server

    go run cmd/main.go
    
  3. Access the API from your browser at :8080