{"id":27447611,"url":"https://github.com/javaxt-project/javaxt-express-demo","last_synced_at":"2025-07-31T00:38:37.780Z","repository":{"id":286646473,"uuid":"875715348","full_name":"javaxt-project/javaxt-express-demo","owner":"javaxt-project","description":"Used to demonstrate some of the core capabilities of the javaxt-express library","archived":false,"fork":false,"pushed_at":"2025-04-13T15:37:43.000Z","size":72,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-15T06:47:46.510Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.javaxt.com/javaxt-express/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/javaxt-project.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-10-20T17:02:11.000Z","updated_at":"2025-04-13T15:37:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"7f15fef0-3521-4be1-bf39-6bbe00b9150d","html_url":"https://github.com/javaxt-project/javaxt-express-demo","commit_stats":null,"previous_names":["javaxt-project/javaxt-express-demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/javaxt-project/javaxt-express-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javaxt-project%2Fjavaxt-express-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javaxt-project%2Fjavaxt-express-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javaxt-project%2Fjavaxt-express-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javaxt-project%2Fjavaxt-express-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/javaxt-project","download_url":"https://codeload.github.com/javaxt-project/javaxt-express-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javaxt-project%2Fjavaxt-express-demo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267967720,"owners_count":24173566,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-15T06:47:45.325Z","updated_at":"2025-07-31T00:38:37.768Z","avatar_url":"https://github.com/javaxt-project.png","language":"Java","readme":"# Introduction\nCommand line app and source code used to demonstrate some of the core\ncapabilities of the javaxt-express library.\n\n## Maven Quickstart\n```\ngit clone https://github.com/javaxt-project/javaxt-express-demo.git\ncd javaxt-express-demo\nmvn install\njava -jar dist/express-demo.jar -version\n```\n\nNote that during the build, maven will download JavaScript files to support the demos.\nJavaScript files are downloaded into the `downloads` folder and then copied into individual\ndemo folders.\n\n\n## Demos\nThe javaxt-express demos are launched via command line. Each demo will start a\nlocal webserver. By default the server will run on port 9080. You can add an\noptional `-p` or `-port` argument to any demo to specify a different port.\n\n### CMS Demo\n\n```\njava -jar dist/express-demo.jar -start cms -demo Basic\n```\n\n### WebServices Demo\nThe following command is used to start a REST service used to demonstrate\nCRUD operations and persistance.\n```\n java -jar dist/express-demo.jar -start webservices -demo CarSales\n```\n\n### React Demos\nThe following command is used to start a web server with a ReactJS app. This\ndemo illustrates how javaxt-express supports ReactJS \"routing\" with virtual\nURLs and push/pop state listeners.\n```\njava -jar dist/express-demo.jar -start React -demo Routing\n```\nYou can host any ReactJS app by simply providing a path to your ReactJS build\nlike this:\n```\njava -jar dist/express-demo.jar -start React -dir /path/to/build\n```\n\n### Auth Demos\nThe following command starts up a simple login demo. You will be prompted to\nprovide a username and password at start-up. This information will be used to\nauthenticate a user. You can provide whatever you username/password you want.\nOnce the server is up and running, it will host a simple login page where you\ncan test the login.\n```\njava -jar dist/express-demo.jar -start webapp -demo BasicAuth\n```\n\nThe following command starts up a login demo that sends a temporary login code\nto your email account that you can use to login. You will be prompted to\nprovide information to your email server including the STMP host, email, and\npassword. As you can see in the code, this information is not stored anywhere.\n```\njava -jar dist/express-demo.jar -start webapp -demo EmailLogin\n```\n\n\n## Dev Notes\nUpdate the .gitignore to exclude JavaScript folders copied during the maven build.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavaxt-project%2Fjavaxt-express-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjavaxt-project%2Fjavaxt-express-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavaxt-project%2Fjavaxt-express-demo/lists"}