GoBB

module
v0.0.0-...-61222a5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2021 License: MIT

README

GOBB

What?

GoBB is a BB forum written in Golang

Why?

This is just an exercise in Go, using dependency injection via Wire and Docker to run the service dependencies such as Postgres. I started my development career 12 years ago writing forums in PHP, Ruby and even Node so it only seems fitting to write one in Go.

How?

Start the app with make start. This runs the app in a Docker container and starts up all dependencies. The app will then be available at localhost:8000

Migrations

  • Run migrations with make migrate
  • Create migrations using migrate
    • migrate create -ext sql -dir db/migrations create_topics_table

Seeding

  • Seed the DB with make seed
  • Seeds are located in the ./db/seeds folder and created using bun fixtures

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL