Skip to content

xpmatteo/demo-frontend-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

News

There is now an article detailing the Demo Front-End pattern!

Rewrote the JavaScript code to vanilla; we no longer use jQuery

About

This is a "hello, world" demo for the Demo Frontends for API-Only Products technique that appears on the March 2023 edition of the Thoughtworks Technology Radar.

The intent is to show how easy it is to set up a demo page that works better than tools like Postman for test-driving an API.

This particular project uses vanilla JavaScript, because it's very simple. Of course you could use React or other libraries; the important thing is to avoid setting up a separate JavaScript build for this, because we want the demo page to be instantly available after a change to either the Spring Boot app, or the HTML/JavaScript code.

How to

Run the application with ./gradlew bootRun, then visit http://localhost:8080/testdrive/index.html

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published