Giter Club home page Giter Club logo

frontend-4-module-test-november's Introduction

React Dictionary App

![React Dictionary App](app-Dict screenshot.png)

This is a React application integrated with Redux for state management that allows users to search for word definitions, view their search history, and see detailed explanations for individual words. The application follows the provided UI design.

Table of Contents


Features

Home Page

  • Navbar: Displaying the application title and navigation links to Home and History pages.
  • Search Functionality: Provide an input field where users can type in a word and a button to initiate the search. Display the results below the input.

History Page

  • Display: A list of previously searched words.
  • Storage: History should be stored and managed in the Redux store.
  • Redirection: Clicking on a word in the history list should redirect users to the word's details page.

Word Details Page

  • Display: Detailed information of a word. This includes its phonetics, meanings, part of speech, definitions, and audio pronunciations.
  • Dynamic Routing: Use dynamic routing to handle different words (/word/:word).

Loader

  • Display: A visually appealing loader/spinner while fetching data from the API.

API

The application uses the DictionaryAPI for fetching word details. You can access the API at DictionaryAPI.


Project Structure

The project is structured as follows:

  • src/
    • components/: React components for the application.
    • redux/: Redux store, actions, and reducers.
    • routes/: React Router routes for different pages.
    • styles/: CSS styles for the application.
    • utils/: Utility functions.
    • App.js: Main application component.
    • index.js: Entry point of the application.

Redux Integration

Redux is used for state management in the application. The Redux setup includes actions and reducers to manage the history of searched words. Redux middleware, like redux-thunk, is used for asynchronous operations when fetching data from the API.


UI Implementation

The application's user interface (UI) is implemented to match the provided Figma design. It is designed to be responsive and user-friendly.


Getting Started

To run the application locally, follow these steps:

  1. Clone this repository to your local machine:

    git clone https://github.com/yourusername/react-dictionary-app.git

frontend-4-module-test-november's People

Contributors

soumya898 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.