Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 467 Bytes

README.md

File metadata and controls

23 lines (12 loc) · 467 Bytes

Go REST API for FUHCM.com

This repository is a skeleton for building production ready Go REST API.

In this repo, we used gorilla/mux with almost pure Go.

Development

Run development container:

$ docker-compose up

Production

Build production image:

$ docker build -t fptu-api .

Run production container:

$ docker run -d --name fptu-api -p 5001:3000 fptu-api:latest

You may found the example environment configuration file at .env.example.