Skip to content

vanditajain-29/dictionary-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📖 Dictionary App

A simple and interactive dictionary application built with React, allowing users to search for word definitions, view a word of the day, and keep track of their search history.

✨ Features

🔍 Word Search

  • Instantly get definitions for any English word
  • Clear, organized display of definitions and parts of speech

🏆 Word of the Day (WOTD)

  • Discover a new word daily
  • Learn interesting words you might not encounter otherwise

📜 Search History

  • Easily revisit previously searched words
  • Clickable history list for quick access
  • Maintains your recent searches

🎨 User Experience

  • Responsive design (works on all screen sizes)
  • Loading indicator during API calls
  • User-friendly error messages
  • Clean, intuitive interface

🛠 Technologies Used

Technology Purpose
React Frontend JavaScript library
HTML Page structure
CSS Styling and layout
Dictionary API Word definitions
Random Word API Word of the Day feature

🚀 Setup and Installation

Prerequisites

  • Node.js (includes npm) Download here
  • npm or Yarn package manager

Installation Steps

  1. Clone the repository
    git clone <your-repository-url>
    cd <your-project-folder>
  2. Install dependencies
     npm install
     #or
     yarn install
  3. Start the development server
    npm start
    # or
    yarn start

The application will open in your browser at http://localhost:3000.

🖥 Usage Guide

🔍 Search for a word

  • Type a word into the search box
  • Press Enter or click the "Search" button to view definitions

🏆 Word of the Day

  • Appears prominently at the top of the page
  • Click the word to instantly see its definition
  • Click the '×' button to close the banner

📜 Search History

  • Your recent searches appear in a dedicated section at the bottom
  • Click any word in your history to instantly search it again
  • History persists during your session

🔌 API Documentation

This app leverages two powerful APIs to deliver its functionality:

API URL Purpose
Dictionary API https://api.dictionaryapi.dev/ Provides comprehensive word definitions, parts of speech, phonetic information, and example usage
Random Word API https://random-word-api.herokuapp.com/ Generates random words for the Word of the Day feature

🌟 Future Enhancements Roadmap

We're constantly improving the Dictionary App! Here's what's coming next:

🎧 Audio Features

  • 🔊 Audio pronunciation for each word
  • 🎤 Text-to-speech functionality

📚 Enhanced Definitions

  • 📝 Example sentences in context
  • 🔤 Synonyms & Antonyms display
  • 📖 Etymology and word origins

🎨 UI Improvements

  • 🌓 Light/Dark mode toggle
  • 🎨 Tailwind CSS integration for better styling
  • 📱 PWA support for offline use

🔍 Advanced Features

  • 🔎 Advanced search filters (by part of speech, length, etc.)
  • 📊 Word frequency information
  • 📅 History export functionality

📜 License

MIT License

About

A sleek and fast React-based dictionary app with word search, word of the day, and search history. Built using dictionaryapi.dev.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors