[Gorilla Mux] codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.
This codebase was created to demonstrate a fully fledged backend service built with [Gorilla Mux] including CRUD operations, authentication, routing, pagination, and more.
We've gone to great lengths to adhere to the [Gorilla Mux] community styleguides & best practices.
For more information on how to this works with other frontends/backends, head over to the RealWorld repo.
This is a backend implementation of Conduit (Medium Clone) built with Go Programming Language.
- Clone this repo.
git clone https://github.com/ashalfarhan/realworld.git
- Install dependencies
go mod tidy
- Start PostgreSQL and Adminer with
docker-compose
make start-db
- Run schema migrations with migrate
make migrate-up
- Start the server
Or using live reload like Air
go run .
- Unit Testing
make test
- E2E Testing with Conduit Spec (Postman)
make test-spec
- Containerize with Docker