Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jump the Queue- review comments fixed #103

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 19 additions & 4 deletions JumpTheQueue/index.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ Jump The Queue is a small application based on the devonfw framework, which you
### Prerequisites
* User should have Java, Angular development experience

### Learning goals
* After completing this tutorial, you will have learned about a devonfw sample application Jump-The-Queue and its architecture.
## Learning goals
* How to create devonfw sample application Jump-The-Queue
* The Architecture of the application.

More information about Jump The Queue on https://github.com/devonfw/jump-the-queue
====
Expand All @@ -15,6 +16,9 @@ More information about Jump The Queue on https://github.com/devonfw/jump-the-que
--
restoreDevonfwIde(["java", "mvn", "node", "ng", "npm"])
--

Note: Setup script can take some time for setup.

First, clone the Jump-The-Queue Repository.
[step]
--
Expand All @@ -28,18 +32,23 @@ cloneRepository("", "https://github.com/devonfw/jump-the-queue.git")
buildJava("jump-the-queue/java/jtqj", true)
runServerJava("jump-the-queue/java/jtqj/server", { "startupTime": 40, "port": 8081, "path": "jumpthequeue" })
--

Now the Java Server should be running.
====

In the next steps we want build and run the Angular Frontend Server. For that you need to install the dependencies first.
Install dependencies before you build and run frontend server.

[step]
--
npmInstall("jump-the-queue/angular")
--

====
Now build and run the Angular Server.
The following two steps are only needed in this tutorial. Normally you can simply execute "ng serve", open the https://localhost:4200/ and start using the app.
The following two steps are only needed in this tutorial.

Normally you can simply execute "ng serve", open the https://localhost:4200/ and start using the app.

In the next step you need to change the Base URL for the REST Services.
[step]
== Serve the Frontend Server
Expand All @@ -50,3 +59,9 @@ runClientNg("jump-the-queue/angular", { "startupTime": 200, "port": 4200, "path"
Now the Angular Frontend Server should be running.
====

====
## Conclusion
You have successfully created a Jump the Queue application. You can now proceed with development of another sample application.

For more information related to Jump The Queue sample application visit on https://github.com/devonfw/jump-the-queue/wiki
====