Skip to content

This Dictionary App is a React-based web application that allows users to search for word definitions, phonetics, examples, and audio pronunciations. It integrates the Free Dictionary API to fetch real-time word meanings. Additionally, it includes features like dark mode and search history to enhance user experience. ๐Ÿš€

License

Notifications You must be signed in to change notification settings

shivamsaurabh25/Dictionary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7c8a020 ยท Feb 17, 2025

History

3 Commits
Feb 16, 2025
Feb 17, 2025
Feb 16, 2025
Feb 16, 2025
Feb 16, 2025
Feb 16, 2025
Feb 16, 2025
Feb 16, 2025
Feb 16, 2025

Repository files navigation

๐Ÿ“– Dictionary App

A simple React-based Dictionary App that fetches word definitions, phonetics, examples, and audio pronunciation from a dictionary API. It also includes dark mode and a search history feature.


๐Ÿš€ Features

  • ๐Ÿ” Search for word definitions, phonetics, and examples.
  • ๐Ÿ”Š Audio pronunciation feature.
  • ๐ŸŒ™ Dark mode toggle.
  • ๐Ÿ’พ Save search history.

๐Ÿ› ๏ธ Tech Stack


๐Ÿ“‚ File Structure

๐Ÿ“ฆ Dictionary-App
โ”œโ”€โ”€ ๐Ÿ“‚ src
โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ components
โ”‚   โ”‚   โ”œโ”€โ”€ Dictionary.jsx
โ”‚   โ”‚   โ”œโ”€โ”€ DarkModeToggle.jsx
โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ assets
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ animations (for Lottie animations if needed)
โ”‚   โ”œโ”€โ”€ App.js
โ”‚   โ”œโ”€โ”€ main.jsx
โ”‚   โ”œโ”€โ”€ ๐Ÿ“‚ styles
โ”‚   โ”‚   โ”œโ”€โ”€ styles.css
โ”œโ”€โ”€ ๐Ÿ“‚ public
โ”‚   โ”œโ”€โ”€ index.html
โ”‚   โ”œโ”€โ”€ favicon.png
โ”œโ”€โ”€ .env
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ package.json

โš™๏ธ Installation & Setup

  1. Clone the repository
    git clone https://github.com/shivamsaurabh25/dictionary-app.git
    cd dictionary-app
  2. Install dependencies
    npm install
  3. Create a .env file and add:
    VITE_DICTIONARY_API_URL=https://api.dictionaryapi.dev/api/v2/entries/en
  4. Run the project
    npm run dev

๐ŸŽฎ Usage

  • Enter a word in the search bar and click "Search".
  • Click the ๐Ÿ”Š button to hear the pronunciation.
  • Toggle ๐ŸŒ™ for dark mode.
  • View past searches in the history section.

๐Ÿ“œ License

This project is open-source and free to use under the MIT License.


๐Ÿค Contributing

Pull requests are welcome! Feel free to contribute by improving features or fixing bugs.


๐ŸŒŸ Show Your Support!

If you like this project, โญ star this repository and share it with others!

Happy coding! ๐Ÿš€

About

This Dictionary App is a React-based web application that allows users to search for word definitions, phonetics, examples, and audio pronunciations. It integrates the Free Dictionary API to fetch real-time word meanings. Additionally, it includes features like dark mode and search history to enhance user experience. ๐Ÿš€

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published