GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Cue/hegemon-example

BranchesTags
Open more actions menu

Latest commit

 

History

23 Commits
23 Commits

Folders and files

NameName
Last commit message
Last commit date
src
src
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

Repository files navigation

This project serves as an example for how to embed and use hegemon in your project. It uses the excellent dropwizard project to make http endpoints available with minimum boilerplate, but hegemon will work equally well with whatever you'd like to include it in.

Get it: $ git clone git://github.com/Cue/hegemon-example.git

Build it: $ cd hegemon-example; mvn package

Run it: $ java -jar target/hegemon-example-0.0.2.jar server

It includes:

  • An http endpoint routing to pre-packaged scripts. Try: $ curl http://localhost:8080/script/example?foo=bar

  • An endpoint evaluating post data. Try: $ curl -d "return 3 + 4" http://localhost:8080/customScript

  • Tests in javascript runnable with a JUnit runner.

  • An HTTP server that runs tests and reloads javascript changes without restart. Try opening in a browser: http://localhost:7070/ and click on the test class name.

About

No description, website, or topics provided.

Resources

Readme
Activity
Custom properties

Stars

1 star

Watchers

14 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.