nationilund-api

command module
v0.0.0-...-2641fe8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2019 License: MIT Imports: 10 Imported by: 0

README

Nation i Lund, API

Source code for the api that backs nationilund.se.

Built with the Gin Framework.

Go 1.8 is required for dependency adriangoransson/studentlund to run.

Build and run

In project root:

go build          # Builds the project and creates a binary in the same folder
./nationilund-api # Runs on port 8080 or env $PORT

Deployed with Apex up. Configuration in up.json.

Reminder to self about up: Never delete the stack unless necessary. Update up.json and run stack plan/apply. If the stack is deleted, reroute dns entries pointing to cloudfront or the custom domain won't work. Actually, just remove the custom domain completely, deploy and then re-add and run stack plan/apply.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL