Inspiration
With the advent of spring (and spring-cleaning) coming up, we wanted to make something that made the task of cleaning up way more organized and planned.
What it does
We built a webapp that helps you assign tasks to different members of your family so that they can all do their part in keeping your home clean throughout the year. Our web dashboard also allows quick reordering and reassigning tasks. Once a task has been assigned, the accompanying discord bot sends a quick and speedy notification your way thus preventing any need of constantly checking the dashboard for tasks.
How we built it
The webpage was built using HTML and CSS. We used flask for our backend. The login credentials as well as the tasks were stored in Datastax Astra. The Discord bot was made using the Discord.py library and both the bot and the website are hosted on Google cloud using the Google compute engine.
Challenges we ran into
One of the challenges that we faced was to get both the bot code and website code running simultaneously. We eventually figured it out by using multiprocessing in python. Another problem that we faced was generating the credentials to connect to our Astra database. Once we figured that out, the database worked like a charm.
Accomplishments that we're proud of
We're very proud on how good the website looks. We also loved the way the drag and drop feature in the tasks page turned out (this allows you to easily reorder and reassign tasks to other members). We're also pretty happy with our time management during the event, it wasn't perfect, but it was way better than usual.
What we learned
We learned on how to integrate Datastax Astra with Flask and python. We also learned on how to securely store and retrieve credentials from our site on Datastax Astra. Also, when it came to running the production app we learnt a few tricks like spawning a process from another (this was needed to run the website and bot at the same time).
What's next for Let's tidy up this space!
We plan on adding a feature which allow users to mark their tasks as completed and also add pictures when assigning tasks. We also plan on adding a list command to the bot which lists out all tasks. We have a number of ideas, stay tuned!
Built With
- css3
- datastax-astra
- discord.py
- flask
- google-compute-engine
- html5
- python
Log in or sign up for Devpost to join the conversation.