Inspiration
What inspired us to make this is the ongoing thorn within our lives which is deciding what to eat. We love find use in the platform of reddit and it's personalized questions and responses. What we wanted is to apply that to the food industry.
What it does
Imagine the benefits of yelp and reddit combined. You get the generalized rating and shopping of yelp, but you also get the real, personalized and user run discussion and communities of reddit.
How we built it
We built this from scratch, Although not finished.
Imports: The code begins by importing the necessary libraries, including Streamlit for creating the web app and the option_menu library for creating a menu with different app sections.
Initialization: It initializes data structures to store discussion threads, comments, and votes using Streamlit's session_state feature. The session_state is used to maintain state across different sessions.
poke_bytes_app() Function: This function is responsible for the main content of the "Poke Bytes App" section.
Discussion Section: Within the "Discussion" section, the code checks if the user selected "Other" as the city. If "Other" is selected, it displays a message instructing the user to select a city to join the discussion.
Creating and Displaying Threads: Users can input a new thread topic in the input box, and upon clicking "Submit New Thread," the code adds this thread to the data structure for threads. It also creates a list of the latest threads and allows users to select a thread from the list.
Displaying Thread Content: When a thread is selected, the code displays the content of the selected thread, including the thread's title and the content. Adding Comments: Users can add comments to the selected thread by entering text in the text area and clicking "Submit Comment." The comments are associated with the selected thread and stored in the data structure for comments.
Displaying Comments: The code displays the comments for the selected thread, allowing users to see the comments made by other users. It also provides the option to upvote and downvote comments.
other_app() Function: This function represents the content of the "Other App" section. Initially, it displays "Welcome to Other App" as a title. However, in the previous exchange, you requested that it be changed to "Local Discussions."
main() Function: This function controls the application's menu. Users can select "Poke Bytes App" or "Other App" from the menu using the option_menu library.
What we learned
Starting from scratch, with non of us ever creating a website before. The issue came with obtaining a domain. Once that was done, countless hours were put into self teaching ourselves how to make what we want to make. Before this, we had no idea where to start and what it took to create a website from scratch.
What's next for Poke bytes
We want Poke Bytes to be an established app on the app-store. Implementing servers and gathering enough users so that it can become more efficient
Log in or sign up for Devpost to join the conversation.