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] Application Clearing Button Functionality #282

Open
jmsargent10 opened this issue Oct 3, 2024 · 0 comments
Open

[Feature] Application Clearing Button Functionality #282

jmsargent10 opened this issue Oct 3, 2024 · 0 comments

Comments

@jmsargent10
Copy link
Contributor

jmsargent10 commented Oct 3, 2024

  • taking inspiration from this python script (which has been used in years prior), write functionality that moves the current applicant data to a new MongoDB collection when the clear applicant data button is pressed
    • this will require making a new .env variable for the connection string to test the functionality on the mock data collection (we do not want to mistakenly delete all data from this past year)
    • the collection that contains mock data is the hacker_applications collection in the ApplicantData database
    • the current python script only deletes the data in the collection and does not save it to a separate collection, but we want to make sure we save this data so we can look back to previous years to see applicants/HBP community
  • the old collection should have it's data moved to a new collection called "applicant_data_currentyear" so the one without the year can be used for the new data for the upcoming year's hackathon. for testing, you can name the collection "hacker_application_currentyear" to reflect the same type of renaming that will be used for the real data collection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant