Skip to content

Donmmi/widgetapp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Web App to API Demo

This app is meant to help demonstrate how easy it can be to migrate a Go application that renders HTML into a JSON API, and how nearly all of the logic in the application will remain unchanged. It intentionally starts out with a pretty poor design and structure so that we can look at the benefits of each individual set of changes we will be making.

Setup

To setup your local dev you will need to setup a PostgreSQL database. I provided a setup.sql file to help make that a little easier - you should be able to run it like this:

psql -f setup.sql

If you need help figuring our Postgres, I have a pretty in-depth series on using it here: https://www.calhoun.io/using-postgresql-with-go/

About

Demo Go Web App used in a few tutorials on Calhoun.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%