Skip to content
fbfreitas edited this page Apr 23, 2025 · 5 revisions

Demonstration

Steps to reproduce in the phase 2 demonstration

Each group will have a maximum of 15 minutes for their demonstration. Within this time frame,one or more selected students must complete the following steps:

  1. Clone the group repo to a new folder.
  2. Checkout the phase 2 tag (0.2.* tag).
  3. Use gradle at command line, to clean and build the project.
  4. Use gradle at command line, to clean and build the project again.
  5. At command line, launch HTTP Server with Postgres implementation
  6. With HTTP Rest Client or Postman, do the following actions through the API:
    1. Create two users
    2. Try to create another user with the same email of the first
    3. Create two clubs
    4. Add two courts to the first club
    5. List all courts of the two clubs
    6. List the avaliable hours for the first court (today)
    7. Create a rental with an invalid date
    8. Create three rentals of two hours in the first court (all today)
    9. List the avaliable hours for the first court (today)
    10. List the rentals of the first court
    11. Show the details of one rental
    12. List all rentals using a page of length 2, going through all the pages.
    13. Remove a rental
    14. Try to show the details of the previous rental
  7. Launch the browser
  8. Go to the application root and follow all edges of the navigation graph

Note - In order to optimize time during the presentation, it is recommended to prepare a file containing all the necessary HTTP requests for point 6, or alternatively, a Postman collection.

Clone this wiki locally