This application is under the MIT license
☝🏻 Click there!
Table of contents generated with markdown-toc
Today I Learned was a full-stack web application I built as a part of Jonas Schmedtmann's Udemy course "Crash Course: Build a Full-Stack Web App in a Weekend!"
It features a React front-end and a back-end powered by Supabase. Users can view all of the facts in the database as well as facts by category, can vote on facts they think are interesting or false (if a fact has more downvotes than upvotes it will be flagged as disputed) and upload their own fact. During development I was able to continue learning about React components, hooks, props, etc. and I'm so excited for you to see the final product! If you wish to check it out simply click on the Netlify deployment link above.
Clone the repository to your local machine, open your terminal, and navigate to the root folder in the Today I Learned repository. To install the necessary dependencies, run npm i
in your command-line terminal.
To upload a fact follow these steps:
- Press the
Share a Fact
button to open the fact form - Enter your facts' text in 200 characters or less
- Enter your trustworthy source beginning with
http://
orhttps://
- Select a category
- Press the
Post
button.
Down below you can see the fact I just created! Note that the fact React was developed by Google is disputed, as seen by the [⛔️ DISPUTED]
that precedes it. For a fact to be disputed it must be voted false more than it was voted interesting. To vote on a fact simply press the 👍
or ⛔️
buttons as seen below as well.
Lastly, you can filter the facts in the database by their category type. Here we pressed the Society
button to view only facts that relate to society.
If you have any additional questions, you can reach me at: