https://github.com/vancanhuit/greenlight
Let's Go Further: Learn how to build RESTful JSON APIs with Go
https://github.com/vancanhuit/greenlight
go golang json-api restful-api web
Last synced: 5 months ago
JSON representation
Let's Go Further: Learn how to build RESTful JSON APIs with Go
- Host: GitHub
- URL: https://github.com/vancanhuit/greenlight
- Owner: vancanhuit
- Created: 2022-05-03T12:46:33.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-04T12:05:04.000Z (about 4 years ago)
- Last Synced: 2024-06-19T17:56:14.248Z (about 2 years ago)
- Topics: go, golang, json-api, restful-api, web
- Language: Go
- Homepage: https://lets-go-further.alexedwards.net/
- Size: 199 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Let's Go Further - Learn How to Build JSON Web APIs with Go
## Local development
Tools:
- [Go 1.18+](https://go.dev/)
- [Docker](https://docs.docker.com/get-docker/)
- [migrate CLI](https://github.com/golang-migrate/migrate/tree/master/cmd/migrate)
- [hey](https://github.com/rakyll/hey)
- [staticcheck](https://staticcheck.io/)
```bash
export GREENLIGHT_DB_DSN=postgres://dev:dev@localhost:5432/greenlight?sslmode=disable
make db/create
make run/api
make db/migrations/up
make db/drop
```