How adlinef06/dictionary works
This repository is a collection of 20 small applications, with a React hub that lets users select and use the React versions. The main workflow is browser entry → app selector → chosen app → result, such as a calculation, search result, or edited list. Four apps persist data through a shared local-storage hook; dictionary, recipe, and currency apps also call external services. The tree includes separate Java and Python counterparts, but the available excerpts do not show how they are orchestrated, so the graph focuses on the React hub and its documented app modules.
Main entry points: App.jsx App selector · useLS.js Local storage hook · Dictionary.jsx Dictionary · main.jsx React entry
Components 29
React hub
- React entry
react-20-apps/src/main.jsx - App selector
react-20-apps/src/App.jsx - Theme switcher
react-20-apps/src/apps/Theme.jsx - Local storage hook
react-20-apps/src/useLS.js
Personal organizers
- To-do list
react-20-apps/src/apps/Todo.jsx - Notes
react-20-apps/src/apps/Notes.jsx - Expense tracker
react-20-apps/src/apps/Expense.jsx - Contact book
react-20-apps/src/apps/Contacts.jsx
Calculators and tools
- Quiz
react-20-apps/src/apps/Quiz.jsx - Calculator
react-20-apps/src/apps/Calculator.jsx - Temperature conversion
react-20-apps/src/apps/Temperature.jsx - BMI calculator
react-20-apps/src/apps/BMI.jsx - Shopping bill
react-20-apps/src/apps/Bill.jsx - Discount calculator
react-20-apps/src/apps/Discount.jsx - Age calculator
react-20-apps/src/apps/Age.jsx - Counter
react-20-apps/src/apps/Counter.jsx - Form validation
react-20-apps/src/apps/FormValidation.jsx - Calendar picker
react-20-apps/src/apps/Calendar.jsx
Search and lookup
- News app
react-20-apps/src/apps/News.jsx - Dictionary
react-20-apps/src/apps/Dictionary.jsx - Currency converter
react-20-apps/src/apps/Currency.jsx - Recipe finder
react-20-apps/src/apps/Recipe.jsx - Book finder
react-20-apps/src/apps/Books.jsx
Other components
- User
- Browser local storage
- Dictionary API
- Datamuse API
- TheMealDB API
- Frankfurter API
Connections 31
- User → React entry: opens
react-20-apps/src/main.jsx - React entry → App selector: renders
react-20-apps/src/main.jsx - App selector → To-do list: selects
react-20-apps/src/App.jsx - App selector → Calculator: selects
react-20-apps/src/App.jsx - App selector → Quiz: selects
react-20-apps/src/App.jsx - App selector → Notes: selects
react-20-apps/src/App.jsx - App selector → Temperature conversion: selects
react-20-apps/src/App.jsx - App selector → Expense tracker: selects
react-20-apps/src/App.jsx - App selector → Contact book: selects
react-20-apps/src/App.jsx - App selector → BMI calculator: selects
react-20-apps/src/App.jsx - App selector → News app: selects
react-20-apps/src/App.jsx - App selector → Dictionary: selects
react-20-apps/src/App.jsx - App selector → Currency converter: selects
react-20-apps/src/App.jsx - App selector → Recipe finder: selects
react-20-apps/src/App.jsx - App selector → Book finder: selects
react-20-apps/src/App.jsx - App selector → Form validation: selects
react-20-apps/src/App.jsx - App selector → Theme switcher: selects
react-20-apps/src/App.jsx - App selector → Counter: selects
react-20-apps/src/App.jsx - App selector → Age calculator: selects
react-20-apps/src/App.jsx - App selector → Calendar picker: selects
react-20-apps/src/App.jsx - App selector → Discount calculator: selects
react-20-apps/src/App.jsx - App selector → Shopping bill: selects
react-20-apps/src/App.jsx - To-do list → Local storage hook: uses
react-20-apps/src/apps/Todo.jsx - Notes → Local storage hook: uses
react-20-apps/src/apps/Notes.jsx - Expense tracker → Local storage hook: uses
react-20-apps/src/apps/Expense.jsx - Contact book → Local storage hook: uses
react-20-apps/src/apps/Contacts.jsx - Local storage hook → Browser local storage: reads and writes
react-20-apps/src/useLS.js - Dictionary → Dictionary API: queries
react-20-apps/src/apps/Dictionary.jsx - Dictionary → Datamuse API: fallback query
react-20-apps/src/apps/Dictionary.jsx - Recipe finder → TheMealDB API: searches
react-20-apps/src/apps/Recipe.jsx - Currency converter → Frankfurter API: fetches rates
react-20-apps/src/apps/Currency.jsx