Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kerosiinikone/go-api-demo
Simple Go Demo JSON API
https://github.com/kerosiinikone/go-api-demo
golang ozzo postgresql
Last synced: about 1 month ago
JSON representation
Simple Go Demo JSON API
- Host: GitHub
- URL: https://github.com/kerosiinikone/go-api-demo
- Owner: kerosiinikone
- Created: 2024-03-23T10:02:32.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-03-23T10:05:11.000Z (9 months ago)
- Last Synced: 2024-03-23T12:06:24.887Z (9 months ago)
- Topics: golang, ozzo, postgresql
- Language: Go
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Go Demo API
My first simple Go demo API that uses ozzo-dbx ORM and Go HTTP server to construct a simple JSON API with JWT
Tests also included
Routes include:
```
GET /
GET /items (auth)
POST /items
```To run with Docker:
```
make docker-run
```To run tests:
```
make test
```### TODO
Mock DB test