Skip to content

This is a Full Stack application, basically to create and display facts along with their source of information, their category, and the voting system for each factor. In conclusion, this application's purpose was to explore the new version of React 18. Thanks πŸ‘πŸ»

lgope/til

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Today I Learned

This is a Full Stack application, basically to create and display facts along with their source of information, their category, and the voting system for each factor. In conclusion, this application's purpose was to explore the new version of React 18. Thanks πŸ‘πŸ»

Description

todayILearned

First, you should click on the share a fact button. Then you share your facts.

If you want to share a fact you probably have to include these:

  • βœ… The content of your fact
  • πŸš€ A trustworthy source which starts with [http:// or https://] like http://examplesite.com
  • πŸ”₯ And the fact's category [which you can choose from a dropdown list]

Also remember that there is a 200-letter limit to your fact πŸ˜‰

Each fact consists of 3 buttons:

  • πŸ‘ Interesting
  • 🀯 Mind-blowing
  • β›” False

Note that if your fact's false votes are more than your interesting and mind-blowing facts together your facts will be disputed.

Also, there is a category section that includes various categories such as:

  • All
  • Science
  • Technology
  • Finance
  • Society
  • Entertainment
  • Health
  • History
  • News

πŸ”Ί The app is connected to Supabase and you can retrieve data from the database, update, and insert new data.

πŸ”Ή Not to mention that the app is mobile friendly (It is completely responsive on mobile devices)

Usage


To upload a fact follow these steps:

  1. Press the Share a Fact button to open the fact form
  2. Enter your facts' text in 200 characters or less
  3. Enter your trustworthy source beginning with http:// or https://
  4. Select a category
  5. Press the Post button.

Upload


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.


Disputed


Vote


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.


Filter


Installation βš’οΈ

1. Server Setup
#1. Clone this project
~ git clone https://github.com/lgope/til.git
#2. cd into it
~ cd til
#3. Install server dependencies
~ npm i
#3. run app
~ npm run dev

Contributing πŸ’‘

Pull requests are welcome but please open an issue and discuss what you will do before 😊

Known Bugs 🚨

Feel free to email me at lakshman.gope2@gmail.com if you run into any issues or have questions, ideas, or concerns. Please enjoy and feel free to share your opinion, constructive criticism, or comments about my work. Thank you! πŸ™‚

Future Updates πŸͺ΄

  • Enable PWA
  • Auth base vote
  • Improve overall UX/UI and fix bugs
  • Featured Facts and so on...

And More! There's always room for improvement!

License πŸ“„

This project is open-sourced under the MIT license.

Deployed Version πŸš€

Feel free to visit πŸ‘‰πŸ» https://til-lgope.netlify.app/

About

This is a Full Stack application, basically to create and display facts along with their source of information, their category, and the voting system for each factor. In conclusion, this application's purpose was to explore the new version of React 18. Thanks πŸ‘πŸ»

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published