Skip to content

greenlaw110/sydney_jvm_meetup_s04e01

Repository files navigation

ActFramework Demo App

This is the application I've presented on Sydney JVM Meetup

How to run it:

  1. Start the app

    mvn clean compile exec:exec
    
  2. Check browser: open http://localhost:5460

  3. Check console:

    telnet localhost 5461
    help
    cust.list
    

    cli-demo

  4. Login

    This app has built-in very simple authentication, you will get redirected to login page if you haven't logged in. Just type in any username and any password string contains "act" to login

  5. Create customer

    Use tool like Postman to help you create customer:

    postman-create-customer

    Note before create customer in postman, make sure you login in postman. Just post to /login with username and password parameter to login

    postman-login

  6. Get customer

    post-get-customer-list

Code size

http://cloc.sourceforge.net v 1.60  T=0.03 s (343.1 files/s, 10602.5 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
Java                             5             40             15            175
HTML                             5              0              0             79
-------------------------------------------------------------------------------
SUM:                            10             40             15            254
-------------------------------------------------------------------------------

About

The sample code I've presented in the meetup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published