bchewy / bolabola

Bola Bola: A sleek match-booking platform using microservices and Stripe payments. Features real-time match streaming and highlights. Perfect for sports enthusiasts.
2 stars 3 forks source link

4 - User Profile Service not implemented #16

Closed bchewy closed 4 months ago

bchewy commented 6 months ago

The User Profile Service will be able to perform the following functionalities:

Purchasing of Ticket Upon user checkout, the service is responsible for consuming messages from a RabbitMQ queue. Subsequently, it updates the user's ticket information in the user profile and adds the invoice to the user's purchase history.

Retrieve all tickets under user The service facilitates retrieving all tickets associated with a specific user by utilizing the user ID. This functionality is achieved through an HTTP GET request to fetch relevant ticket data stored in the database.

Refund Ticket After the approval of a ticket refund, the service will utilize AMQP to retrieve messages from a RabbitMQ queue. Subsequently, it will proceed to remove the corresponding ticket from the user's account stored in the database.

jovinne commented 5 months ago

The User Profile Service will be able to perform the following functionalities:

  1. Purchasing of Ticket Upon user checkout, the service is responsible for consuming messages from a RabbitMQ queue. Subsequently, it updates the user's ticket information in the user profile and adds the invoice to the user's purchase history.
  1. Retrieve all tickets under user The service facilitates retrieving all tickets associated with a specific user by utilizing the user ID. This functionality is achieved through an HTTP GET request to fetch relevant ticket data stored in the database.

  2. Refund Ticket After the approval of a ticket refund, the service will utilize AMQP to retrieve messages from a RabbitMQ queue. Subsequently, it will proceed to remove the corresponding ticket from the user's account stored in the database.

bchewy commented 5 months ago

Updated initial issue description, thanks jovvine!

yijiyap commented 4 months ago

boooom ez