Skip to content

Source code used in the different devonfw tutorials

License

Notifications You must be signed in to change notification settings

MCHAMOUXCAPG/jump-the-queue

 
 

Repository files navigation

Jump The Queue

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.

Building application on local

To build application on local execute below commands:

  1. Download latest devonfw-ide from here. More details to setup devonfw -ide can be found here.

  2. Once ide setup is done. Clone jump-the-queue application in workspace:

    git clone https://github.com/devonfw/jump-the-queue.git

  3. ** Building and running Jump-the-queue backend:**

    To build backend navigate to jump-the-queue\java\jtqj folder from command line and execute command mvn clean install.

    To run BE using jar navigate to jump-the-queue\java\jtqj\server\target from command line and execute java -jar jtqj-server-bootified.war
    OR
    Alternatively, you can launch application using mvn spring-boot:run command. Navigate to jump-the-queue\java\jtqj\core folder from command line and execute mvn spring-boot:run

  4. Build Jump-the-queue front-end:

    To build Jump-the-queue front-end navigate to jump-the-queue\angular folder from command line and execute command yarn install. To launch jump-the-queue FE navigate to jump-the-queue\angular folder from command line and execute yarn start. Alternatively, you can use npm if you face issues with yarn (build using npm install and launch using npm start).

  5. 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 add security.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.

About

Source code used in the different devonfw tutorials

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 78.8%
  • TypeScript 17.2%
  • HTML 2.8%
  • Other 1.2%