Dias1c / forum

Typical forum on htmltemplates with posts, votes and comments.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

forum

Forum with clean architecture. Here you can:

  • Create posts - Share your inner world
  • Comments posts - Discuss posts
  • Vote liked/disliked posts and comments
  • But before creating you must register :)

How to run local

Run:

go run ./cmd/

Run with building file

go build -o forum.exe ./cmd
./forum.exe

Run on Docker

  1. Build image
docker build . -t forum-image
  1. Run container
docker run -p 80:8080 --rm --name forum-container forum-image
  1. Check http://localhost

For Developers

The Project's Definition of Done

It helps to you write forum with this order

Preparing

  • Configs (config files or params)
  • Database schema
  • Create and Connect to DB
  • Write dockerfile

Logic

  • sign-up
  • sign-in
  • middleware (session tracker)
  • post-create
  • post-view
  • main-page
  • post-delete
  • post-edit-page
  • post-page (likes, comments)
  • posts-own
  • posts-voted
  • comment-create
  • comment-delete
  • comments (likes)
  • posts-categories-page (filtering, posts)

Opt

  • Makrdown
    • About project (Description)
    • How To Run (Examples)

About

Typical forum on htmltemplates with posts, votes and comments.


Languages

Language:Go 66.2%Language:HTML 28.5%Language:JavaScript 4.1%Language:CSS 0.9%Language:Dockerfile 0.2%Language:Shell 0.2%