This is a simple-blog application with jwt authentication and CRUD operations for posts and comments. Only registered users can create posts and comments.
- Clone the repository.
- Install the dependencies with
go mod download
- Create
.env
file and copy values from.env_example
- Follow the instructions to install Taskfile utility
- Run the app with
task run
- Run the tests with
task test
- Also you can proceed with the OpenAPI docs by link
localhost:8080/swagger
- Go - The programming language used.
- net/http - Package used for HTTP client and server implementations.
- REST - Architectural style for the API.
- Clean Architecture - Architectural pattern used.
- Postgres - Database used.
- Golang-Migrate - Database migrations tool.
- JWT - Used for authentication.