Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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