Skip to content

catchpoint/catchpoint-demo-cinema-app

Repository files navigation

Catchpoint Demo Cinema App

This is a demo cinema app a basic example of a cinema booking system. You can display a list of movies, view movie details, and book tickets for a movie.

Pre-requisites

Setting up Catchpoint API Key

  1. Retrieve <API_KEY> key from Catchpoint Portal (https://portal.catchpoint.com/ui/Symphony/Integrations/Api/Tracing)

  2. Change <API_KEY> value from the

    • For OpenTelemetry agent:
      • backend/auth-service/otel-trace/otel-config.properties
      • backend/cinema-service/otel-trace/otel-config.properties
      • backend/notification-service/otel-trace/otel-config.properties
  3. [Optional] If you want to customize each service name, change the

    • For OpenTelemetry agent otel.service.name

    in the above files to a unique name for each service

Getting Started - Manual Installation

  1. Clone the repository
  2. Install opentelemetry agent
  • For Windows
    ./otel.ps1
  • For Linux/Mac
    ./otel.sh
  1. Run the following command to start the application
docker-compose up
  1. Open Web UI in your browser to access the cinema app

Getting Started - Automated Installation

  1. Clone the repository
  2. Run the following command to start the application
  • For Windows
    ./start.ps1
  • For Linux/Mac
    ./start.sh
  1. Click go to the trace link of the given trace id Trace Link

Accessing the Application

  • Open your browser and navigate to Login Page to access the cinema app
  • Click on the Login button to login to the application
  • Then you can view the list of movies, view movie details, and book tickets for a movie
  • You can also view the booking history by clicking on the Reservation link

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published