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

CRUD operations for Google Forms Watches and associated API endpoints (create and renew) #21

Merged
merged 9 commits into from
Apr 16, 2024

Conversation

mkb02
Copy link
Collaborator

@mkb02 mkb02 commented Apr 1, 2024

  • Created createWatch() and renewWatch() functions for google forms watches in lib/firebase/database/watches.ts
  • Created the API endpoint to renew a given watch in /api/watches/renew/route.ts (POST request)
  • Created the API endpoint to create a watch using a given formId in /api/watches/route.ts (POST request)
  • File structure pictures:
    image
    image

@nkanchinadam nkanchinadam merged commit ca2208c into main Apr 16, 2024
0 of 2 checks passed
@nkanchinadam nkanchinadam deleted the forms-crud-ops branch April 16, 2024 16:54
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

Successfully merging this pull request may close these issues.

2 participants