Skip to content
Nation i Lund api
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Nation i Lund, API

Source code for the api that backs

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.

You can’t perform that action at this time.