A blogging platform API to share what is in my mind
- Clone the repository:
git clone https://github.com/hyprhex/blogify.git
- Navigate to the project
cd blogify
- Install dependencies
# Handle routing
go get github.com/go-chi/chi/v5
go get github.com/go-chi/chi/v5/middleware
# Needed to connect with the database
go get github.com/lib/pq
# To validate user inputs
go get github.com/go-playground/validator/v10
Install CLI tools
- To migrate file I use : golang-migrate
- To get env variable : direnv
- To reload server on change: air
Install docker
- Install docker and docker-compose Here
- Build docker compose
sudo docker compose up --build
- Run the server
air
- Straightforward Bloggin platform
- No authentication
- Easy to test
Contributions are welcome! just submit your pull requests and I will handle it.
This project is licensed under the MIT License - see the LICENSE file for details.
- Inspiration: Thanks to roadmap
- Tools: Project built using Go, PostgreSQL