Skip to content

Exercises for the Lunatech Workshop on Quarkus Reactive Programming presented at DevQuest Niort 20204

Notifications You must be signed in to change notification settings

lunatech-labs/lunatech-workshop-devquest-niort-2024

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lunatech Workshop - DevQuest Niort 2024 - Quarkus Reactive Programming

The workshop exercises are based on the Lunatech Beginner Quarkus Course. For the workshop we will focus solely on the reactive exercises.

In the root folder of this repo, you should find a script ./cmtc . Verify that running the script on the command-line ./cmtc works. You should see output like the following:

Usage: cmtc <COMMAND>

Commands:
  goto-exercise        Move to a given exercise. Pull in tests and readme files for that exercise
  goto-first-exercise  Move to the first exercise. Pull in tests and readme files for that exercise
  list-exercises       List all exercises and their IDs in the repo. Mark the active exercise with a star
  list-saved-states    List all saved exercise states, if any.
  next-exercise        Move to the next exercise. Pull in tests and readme files for that exercise
  previous-exercise    Move to the previous exercise. Pull in tests and readme files for that exercise
  pull-solution        Pull in all code for the active exercise. All local changes are discarded
  pull-template        Selectively pull in a given file or folder for the active exercise
  restore-state        Restore a previously saved exercise state
  save-state           Save the state of the active exercise
  set-current-course   Sets the current course to point to a directory

Once you have verified that the script works, you can run the following command:

$ ./cmtc set-current-course -s .

You should see output like the following:

Current course set to '</path/to/course>.'

Exercises in repository:
  1.  *   exercise_000_initial_state
  2.      exercise_001_create_a_greeting_service
  3.      exercise_002_a_qute_hello_world
  4.      exercise_003_qute_products
  5.      exercise_004_even_qute_products
  6.      exercise_005_products_from_the_database
  7.      exercise_006_CDI_and_ArC
  8.      exercise_007_Convert_endpoints_to_JSON
  9.      exercise_008_Adding_REST_data_Panache
 10.      exercise_009_Hook_up_the_React_app
 11.      exercise_010_Validation_and_PUT
 12.      exercise_011_Going_Reactive
 13.      exercise_012_Reactive_search_endpoint
 14.      exercise_013_Listen_and_Notify
 15.      exercise_014_Internal_Channels
 16.      exercise_015_Connecting_to_Kafka
 17.      exercise_016_Dead_Letter_Queue_and_Stream_filtering

Then, to advance straight to the reactive programming exercises, run the following commands:

$ ./cmtc goto-exercise exercise_010_Validation_and_PUT
# (Output) Moved to  exercise_010_Validation_and_PUT

$ ./cmtc pull-solution
# (Output) Pulled solution for exercise_010_Validation_and_PUT

$ ./cmtc next-exercise
# (Output) Moved to  exercise_011_Going_Reactive

Now open the code folder in your favourite IDE and you are ready to start the reactive programming exercises.

Tip: it is usually a good idea to locally commit the changes you make after each exercise

About

Exercises for the Lunatech Workshop on Quarkus Reactive Programming presented at DevQuest Niort 20204

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages