Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/shellbear/dokku-go-example

Easily deploy your Go applications with Dokku.
https://github.com/shellbear/dokku-go-example

api deployment dokku echo go gorm postgresql web

Last synced: about 2 months ago
JSON representation

Easily deploy your Go applications with Dokku.

Awesome Lists containing this project

README

        

# dokku-go-example

Easily deploy your Go applications with Dokku.

Features:
- Deploy on your own server
- Auto deployment
- HTTPS

**Check the full step by step article: https://shellbear.me/blog/go-dokku-deployment**

## 💻 Getting started

The example API requires a PostgreSQL database.

Specify the database connection URL using the `DATABASE_URL` environment variable:

```shell
export DATABASE_URL=postgresql://user:secret@localhost
go run .
```

## Built with

- [Gorm](https://gorm.io)
- [Echo](https://echo.labstack.com)