/Golang-Demo

Simple application demonstrating the integration of several popular Go packages

Primary LanguageGoApache License 2.0Apache-2.0

Golang app demo

the app consumes a JSON payload from https://www.data.gov/, populates a database and displays the database contents on a web page.

run application

  1. docker-compose up
  2. ssh to 'backend' conainer
  3. inside the conainer:
cd src/backend/
go run .

after the server is running:

  • import data to the database http://localhost:4200/import
  • query data from the database http://localhost:4200/export