Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single Click Registration #1

Open
suffisme opened this issue Oct 2, 2022 · 0 comments
Open

Single Click Registration #1

suffisme opened this issue Oct 2, 2022 · 0 comments

Comments

@suffisme
Copy link
Owner

suffisme commented Oct 2, 2022

Suppose the request contains a body with following data

  • unique ID of the user
  • unique ID of the event
  • Any optional field - queries regarding the event

You are supposed to make a view / function in backend for enabling the single click registration.
Means enrolling the student in that event.

Hint:
Have an events_enrolled field in user model that is array that appends the eventID everytime it is registered.
Have an users enrolled field in event which is again an array of objects that can add the user detail, their queries (if any) to it.

This function should not allow multiple registration of same person in same event.
suffisme pushed a commit that referenced this issue Oct 16, 2022
prathambande pushed a commit that referenced this issue Oct 16, 2022
Gurkirat's Pull request
suffisme pushed a commit that referenced this issue Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant