RocketChat / RC4Conferences

A set of scalable components for communities to build, manage, and run virtual conferences of any size.
https://conf.rceng.shop/conferences/c/1
24 stars 38 forks source link

[TODO] Create a Ticket & Registration Form Component #97

Open Dnouv opened 1 year ago

Dnouv commented 1 year ago

Create a form component for handling the Creation of Multiple Tickets & Registrations (Currently, we will only have the Free version).

Ticket: image

Registration: image

nsundriyal62 commented 1 year ago

@Dnouv could you please assign this issue to me

Dnouv commented 1 year ago

Hey @nsundriyal62

Thank you for joining in on the issue. We would love to have your contribution. I saw you have commented on more than two issues at the same time, sorry but I won't be able to assign multiple issues to you. Before getting assigned to an issue, you should first explain how you plan to approach the issue and do you see any specific difficulties that need to be addressed.

Please feel free to ask questions. Thank you!

cherish2003 commented 1 year ago

Hi @Dnouv i want to work on this issue can you please assign me this issue ?

abhishekkhanna2710 commented 1 year ago

Hey @Dnouv Can You please this issue to me I am really interested in working on it.

vikasharma005 commented 1 year ago

Hello @Dnouv can you please assign Create a Ticket & Registration Form Component [#97](https://github.com/RocketChat/RC4Conferences/issues/97) issue to me. I am very interested in working on this particular issue and believe that I have the necessary skills to complete it successfully.

Dnouv commented 1 year ago

Thank you so much @cherish2003 @abhishekkhanna2710 @vikasharma005. I appreciate your interest in taking up the issue.

I am sorry for not getting back to you sooner. Could you please explain your approach on how you plan to tackle this issue, which components you plan to introduce, or the API endpoints that are going to be utilized? (Please don't worry if it is not complete, we could work together on refining it) This will help to make things much clear before starting to code.

I'm really looking forward to your contributions. Thank you!

vikasharma005 commented 1 year ago

@Dnouv Sure, here is my approach to tackling this issue:

  1. Define the data model for tickets and registrations: Before creating any UI components or writing any API endpoints, the data model for tickets and registrations must be defined. This will help guarantee that the UI components and API endpoints are designed to handle data in a scalable and efficient manner. Fields such as ticket type, ticket price, ticket availability, attendee name, attendee email, and so on could be included in the data model.
  2. Create the user interface components for creating tickets and registrations: We can design UI components for creating tickets and registrations based on the screenshots supplied. Users will be able to select the amount of tickets/registrations they want to create, enter the details for each ticket/registration, then submit the form to create the tickets/registrations.
  3. Implement API endpoints for ticket and registration creation: We can construct API endpoints for ticket and registration generation. The data submitted by the UI components will be received by these endpoints, validated, and stored in the backend database.
  4. combine the UI components with the API endpoints: We can then combine the UI components with the API endpoints so that when a user submits a form to create tickets/registrations, the data is delivered to and processed by the API endpoint. The API endpoint will then provide a response indicating whether or not the ticket/registration was successfully created.
  5. Finally, we can test and refine the system to check that it works as planned and refine it depending on user feedback.

Here is a basic outline of the specific components and API endpoints that I intend to introduce:

Dnouv commented 1 year ago

Hey @vikasharma005

Thank you for the detailed explanation; I appreciate your time and effort. Could you please explore the codebase of RC4Conferences, and try it out by setting up the development environment? If you do that, you will find that it is not such a complex issue (no creating the data models).

Thank you!

coderboy-yash commented 11 months ago

Hi @Dnouv i want to work on this issue can you please assign me this issue ?