Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/giansalex/iris-rest

IRIS Rest API + JWT + CORS + Deployed on Heroku
https://github.com/giansalex/iris-rest

docker golang rest-api

Last synced: 17 days ago
JSON representation

IRIS Rest API + JWT + CORS + Deployed on Heroku

Awesome Lists containing this project

README

        

# Iris Rest Api (Sample)
[![Build Status](https://travis-ci.org/giansalex/iris-rest.svg?branch=master)](https://travis-ci.org/giansalex/iris-rest)
Using [Iris](https://github.com/kataras/iris) deploy on Heroku.

Run application.
```bash
go run ./
```

Run tests.
```bash
go test ./
```

## Docker

Deploy iris application on Docker.

**Build**

```bash
docker build -t goiris .
```

**Run**
```bash
docker run -d -p 80:8080 --name restapp goiris
```

### Deploy on AWS Elastic Beanstalk

In type application choose docker.