Skip to content

adriangoransson/nationilund-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages