Go 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 fullstack application built with Go including CRUD operations, authentication, routing, pagination, and more.
We've gone to great lengths to adhere to the Go community styleguides & best practices.
For more information on how to this works with other frontends/backends, head over to the RealWorld repo.
- Installation instructions for Go: Getting Started
- Getting familiar with the environment: How to write Go Code
go get github.com/kartikkh/Medium
cd $GOPATH/src/github.com/kartikkh/Medium
- Since project has been using GORM
- Install listed Database from Here onto your System
- Configure the Database onto your System
Create a .env file in root directory and add
dbUser = 'DatabaseUsername'
dbPassword = 'DatabasePassword'
JWT_SECRET = SUPERSECRETKEY
port = 3000
go build
./Medium
go test
# -v for verbose
- Comment one which issue you'd like to do
- Fork the project then get the project: Getting the project
- Now you have your own project URL (from your fork)
git remote rename origin upstream
git remote add origin {YOUR_URL}
- After your first change make a PR with
[WIP]
(work in progress) added to the title. - When your ready for review assign one of us Gophers 🐹