Skip to content
FPTU Tech Insider Backend rebuild based on Golang
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cache
chatsocket
config
controllers
lib
middlewares
models
server
vendor
.dockerignore
.env.example
.gitignore
Dockerfile
Jenkinsfile
LICENSE
README.md
dev.Dockerfile
docker-compose.yml
main.go

README.md

Go REST API for FPTu.tech

This repository is a skeleton for building production ready Golang 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.

You can’t perform that action at this time.