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

feature/AddEventsToFirebase #141

Open
Sean-OCallaghan opened this issue Oct 22, 2021 · 0 comments
Open

feature/AddEventsToFirebase #141

Sean-OCallaghan opened this issue Oct 22, 2021 · 0 comments
Assignees
Labels
enhancement New feature request

Comments

@Sean-OCallaghan
Copy link
Contributor

Sean-OCallaghan commented Oct 22, 2021

Feature Request


Please describe what aspect of the project are you addressing

Using the API from the presence that receives the events, add them to firebase and give them a doc ID of the apiID.
Here is what the data should have:
{
title: string
type: string
description: string
location: string
time: date object
pastEvent: boolean
attendance: code
}

When the function is ran, we need to add every event to our firebase database if it does not already exist. we can check this with the apiID of the event given by the API from presence. We also need to generate a 6 DIGIT attendance code for each event that is unique, you must check that it doesn't already exist when in the Database.

Generate a code for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature request
Projects
None yet
Development

No branches or pull requests

2 participants