https://github.com/dias1c/forum
Typical forum on htmltemplates with posts, votes and comments.
https://github.com/dias1c/forum
01-edu alem-school clean-architecture docker forum go golang sqlite3 web
Last synced: 2 months ago
JSON representation
Typical forum on htmltemplates with posts, votes and comments.
- Host: GitHub
- URL: https://github.com/dias1c/forum
- Owner: Dias1c
- Created: 2022-01-03T11:34:13.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-08T17:19:16.000Z (over 3 years ago)
- Last Synced: 2026-03-11T10:58:38.130Z (4 months ago)
- Topics: 01-edu, alem-school, clean-architecture, docker, forum, go, golang, sqlite3, web
- Language: Go
- Homepage:
- Size: 557 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
```bash
go run ./cmd/
```
Run with building file
```bash
go build -o forum.exe ./cmd
./forum.exe
```
## Run on Docker
1. Build image
```bash
docker build . -t forum-image
```
2. Run container
```bash
docker run -p 80:8080 --rm --name forum-container forum-image
```
3. Check [`http://localhost`](http://localhost:80)
## For Developers
The Project's Definition of Done
> It helps to you write forum with this order
**Preparing**
- [x] Configs (config files or params)
- [x] Database schema
- [x] Create and Connect to DB
- [x] Write dockerfile
**Logic**
- [x] sign-up
- [x] sign-in
- [x] middleware (session tracker)
- [x] post-create
- [x] post-view
- [x] main-page
- [x] post-delete
- [x] post-edit-page
- [x] post-page (likes, comments)
- [x] posts-own
- [x] posts-voted
- [x] comment-create
- [x] comment-delete
- [x] comments (likes)
- [x] posts-categories-page (filtering, posts)
**Opt**
- [ ] Makrdown
- [ ] About project (Description)
- [x] How To Run (Examples)