Source code and documentation for the JumpTheQueue tutorial application.
Documentation is provided in the form of a step-by-step guide suited for new devonfw users.
To build application on local execute below commands:
-
Download latest devonfw-ide from here. More details to setup devonfw -ide can be found here.
-
Once ide setup is done. Clone jump-the-queue application in workspace:
git clone https://github.com/devonfw/jump-the-queue.git -
** Building and running Jump-the-queue backend:**
To build backend navigate to
jump-the-queue\java\jtqjfolder from command line and execute commandmvn clean install.To run BE using jar navigate to
jump-the-queue\java\jtqj\server\targetfrom command line and executejava -jar jtqj-server-bootified.war
OR
Alternatively, you can launch application using mvn spring-boot:run command. Navigate tojump-the-queue\java\jtqj\corefolder from command line and executemvn spring-boot:run -
Build Jump-the-queue front-end:
To build Jump-the-queue front-end navigate to
jump-the-queue\angularfolder from command line and execute commandyarn install. To launch jump-the-queue FE navigate tojump-the-queue\angularfolder from command line and executeyarn start. Alternatively, you can use npm if you face issues with yarn (build usingnpm installand launch usingnpm start). -
Access the application.
While registering user or login if you get access error check on browser console if you are getting CORS related issue. Clear the browser cache and try once again. Or remove
security.cors.spring.allowedOriginPatterns=*and addsecurity.cors.spring.allowedOrigins=http://localhost:4200. localhost:4200 is default port where angular application starts in case you have changed port please change it in respective property as well.
Please visit the wiki tab to begin the walkthrough.