Forum is a web application that allows authorized users to create, comment, like, dislike and add tags to the their own posts.
- Creating post
- Post tags (categories)
- Filter by tags
- Likes, dislikes on posts and on comments
- Commenting on posts
- Registration
- Authorization
- Database connection
- Go 1.20 or higher
- Have an access to this repository ๐
To start using this application follow these steps:
- Clone the repository
git clone [email protected]:msarvaro/forum.git
- Download dependecies:
go mod tidy
- Run these commands in terminal (running the server in docker)
make build
make docker-run
- By default the server would run by next address - http://localhost:5000
- If you've finished reviewing, please delete the docker image and container by running next command:
make clean
Alternatively ๐
You can run the server directly:
make run
Regular user:
- username - "nah"
- email - "[email protected]"
- password - "nahnahnah"
- You can react on post only from post page
- You CANNOT create a new user using non-ascii symbols in either username or email
- You can authorize either with username or email
- If don't have make installed, you may run the app with next command (run from root directory):
go run ./cmd/app