Skip to content

cloudnativego/web-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wercker status

Web Application

A simple illustration of a web application that hosts static content as well as facilitates some JavaScript AJAX style consumption of a service hosted in Go.

To run this application locally:

  • glide install to populate your local vendor/ directory.
  • go build
  • ./web-application

To run it as a docker image, docker run -p 8100:8100 cloudnativego/web-application:latest

Resource Method Description
/ GET Home page (index.html)
/api/test GET Simple REST API that can be consumed from JavaScript
/cookies/write GET Writes cookies to the browser
/cookies/read GET Reads previously written cookies

About

A very simple example of a web application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published