Giter VIP home page Giter VIP logo

globalbankgdpquery's Introduction

React GDP History Graph with Form Field and Dark/Light Mode Toggle

This project is a Single Page Application (SPA) that utilizes React, custom hooks, and various libraries to create a dynamic form field with data persistence, a dark/light mode toggle, and a line graph displaying the GDP history of selected countries using Recharts. The project incorporates axios for handling GET and POST requests, and it's styled using a combination of styled-components, reactstrap, and bootstrap for an enhanced user interface.

Features

  • Form Field with Data Persistence: The application features a form field where users can input data. The input data persists even after the page is refreshed, enhancing the user experience.

  • Dark/Light Mode Toggle: Users can switch between dark and light modes for better visibility and personalization. The toggle provides a seamless transition between the two modes.

  • GDP History Graph using Recharts: The project fetches historical GDP data for selected countries and presents it in an interactive line graph using the Recharts library. Users can visually analyze the GDP trends over time.

  • GET and POST Requests with Axios: Axios, a popular JavaScript library, is used to handle GET requests to fetch historical GDP data and POST requests to persist user input data. This ensures smooth communication with external APIs and data storage.

  • Styled-components, Reactstrap, and Bootstrap: The user interface is styled using a combination of styled-components, reactstrap, and bootstrap. This combination allows for a visually appealing and responsive design across various devices.

Getting Started

To run the project locally, follow these steps:

  1. Fork the repository
  2. Clone the repository to your local machine. git clone https://github.com/your-username/your-repo.git
  3. Install the project dependencies using npm with npm install
  4. Start with npm run start

Technologies Used

  • React
  • Custom Hooks
  • Recharts
  • Axios
  • Styled-components
  • Reactstrap
  • Bootstrap

License

This project is licensed under the MIT License.


Repository Link

globalbankgdpquery's People

Contributors

jl1172 avatar

Stargazers

 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.