Go to file
Yanislav Igonin 074ed9a7f0 wip
2022-04-13 12:23:16 +03:00
.github/workflows feat: artifacts live for 1 day 2021-11-20 23:00:18 +02:00
build Refactoring - Fiber (#14) 2022-04-09 15:16:09 +03:00
config Feature - Gateway (#12) 2022-02-28 10:18:44 +03:00
controllers wip 2022-04-13 12:23:16 +03:00
db feat: little refactoring 2022-01-21 01:24:30 +02:00
files Feature - Migrator (#3) 2021-11-17 11:44:12 +03:00
gateway Refactoring - Fiber (#14) 2022-04-09 15:16:09 +03:00
migrations Feature - Threads archivation (#4) 2021-11-20 20:13:05 +03:00
repositories wip 2022-04-13 09:38:15 +03:00
static add validation on post create 2022-04-12 11:39:02 +03:00
templates wip 2022-04-13 09:38:15 +03:00
tests Refactoring - Fiber (#14) 2022-04-09 15:16:09 +03:00
utils wip 2022-04-13 09:38:15 +03:00
.env.example Refactoring - Fiber (#14) 2022-04-09 15:16:09 +03:00
.gitignore feat: add rate limiter 2021-09-08 16:56:03 +03:00
docker-compose.yml add middleware to traefik 2022-02-28 11:54:14 +02:00
Dockerfile fix: add migrations to build 2021-11-18 00:26:28 +02:00
go.mod feat: update deps 2022-04-10 11:41:11 +03:00
go.sum feat: update deps 2022-04-10 11:41:11 +03:00
LICENSE license 2022-02-09 12:23:06 +02:00
main.go feat: turn rate limiter back on 2022-04-11 09:31:17 +03:00
Makefile Feature - Gateway (#12) 2022-02-28 10:18:44 +03:00
README.md docs 2022-02-06 19:40:21 +02:00

micrach

Go tryout. Single board imageboard.

Motivation

Tired of a fucking SPAs, so I decided to write this simple and lightweight imageboard (microboard, actually) with as less JS as possible.
Also, I wanted to learn Go, so I decided to write this in Go.

Maybe I'll add an api and create a SPA with the Next.js framework in the future, but right now I'm trying to make this as simple as possible.

Prerequisites

  1. Go 1.13+.
  2. PostgreSQL.
  3. Create .env file from .env.example, change env vars to your needs.
  4. Create db with the name that is specified in .env file in POSTGRES_URL env var.

Run

Just run:

go run main.go

In development I prefer to run it with fresh for live reload.