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

https://github.com/dioncodes/go-surreal-starter

Go + SurrealDB Starter (with Gin and Docker)
https://github.com/dioncodes/go-surreal-starter

docker docker-compose gin-gonic go golang surrealdb

Last synced: 11 months ago
JSON representation

Go + SurrealDB Starter (with Gin and Docker)

Awesome Lists containing this project

README

          

# Go + SurrealDB Starter (Gin + Docker)

A minimal starter project for a Go API using [Gin](https://github.com/gin-gonic/gin) and [SurrealDB](https://surrealdb.com/).

## Requirements
- [Docker](https://www.docker.com/) (including [docker-compose](https://docs.docker.com/compose/install/))

## Setup
1. Make sure the Docker engine is running
2. Build app using `docker-compose build`
3. Start backend and surrealdb containers using `docker-compose up`
4. The API should be available at `localhost:8100` - check the container output for an example URL