hack4impact-calpoly / ecologistics-web-scraper

https://ecologistics-web-scraper.vercel.app
5 stars 0 forks source link

Add a script to wipe database #135

Closed oli-lane closed 3 months ago

oli-lane commented 4 months ago

In the backend in api/chalicelib/utils create a file called clear_mongodb.py that accepts a string (the database) as an argument, opens a connection, and wipes the following collections in the specified database: