module
0.0.0-20240626105704-178aa4306d24
Repository: https://github.com/markraiter/simple-blog.git
Documentation: pkg.go.dev
# README
REST API for Simple Blog Project
The App:
This is a simple-blog application with jwt authentication and CRUD operations for posts and comments. Only registered users can create posts and comments.
To run the blog please proceed next:
- 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
Running the tests
- Run the tests with
task test
- Also you can proceed with the OpenAPI docs by link
localhost:8080/swagger
Built With
- 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.