Giter VIP home page Giter VIP logo

obedrav / covid-19datatracker-fronted Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 8.17 MB

This project is a web-based platform developed using Next.js and React, designed to provide users with comprehensive insights and visualizations of COVID-19 data from reliable sources.

Home Page: https://main--helpful-starship-14ba6b.netlify.app

License: MIT License

JavaScript 99.87% CSS 0.13%
covid-19 framer-motion nextjs react reactjs tailwindcss

covid-19datatracker-fronted's Introduction

COVID-19 Data Tracker - Frontend ๐Ÿ“Š๐ŸŒ

COVID-19 Data

Table of Contents

  • Introduction
  • Features and Highlights
  • Project Setup and Usage
  • Technology Stack
  • Folder Structure
  • Routing with Pages Directory
  • Data Fetching with Custom Hooks
  • Deployment on Netlify
  • Best Practices
  • License
  • Contact
  • Styling
  • Process
  • Authors

Introduction ๐ŸŒŸ

Welcome to the frontend repository of the COVID-19 Data Tracker application! ๐Ÿš€ This project is a web-based platform developed using Next.js and React, designed to provide users with comprehensive insights and visualizations of COVID-19 data from reliable sources.

Features and Highlights โœจ

  • Interactive Data Visualization: Harness the power of React and Chart.js to create dynamic and interactive graphs, charts, and maps that present COVID-19 data in a visually engaging manner.

  • Responsive User Interface: Enjoy a seamless user experience across various devices and screen sizes with a fully responsive frontend design.

  • Smooth Animations: Elevate user engagement with smooth animations powered by the Framer Motion library, creating a delightful and informative UI.

  • Data Filtering and Customization: Empower users to customize their data viewing experience with features like date range selection and filtering by location.

Project Setup and Usage ๐Ÿ› ๏ธ

  1. Clone the Repository: Begin by cloning this repository to your local machine.

  2. Install Dependencies: Navigate to the project directory and install the required dependencies using npm install.

  3. Environment Variables: Easily configure the necessary environment variables in a .env file as outlined in the documentation.

  4. Start the Development Server: Run npm run dev to kickstart the development server. Open your browser and access http://localhost:3000 to see the magic unfold.

Technology Stack ๐Ÿ’ป๐Ÿ”ฎ

This project thrives on the following cutting-edge technologies:

  • Next.js: A React framework that empowers server-rendered React applications.
  • React: A JavaScript library for crafting splendid user interfaces.
  • Tailwind CSS: A utility-first CSS framework for rapid UI development. ๐ŸŽจ
  • Framer Motion: A library for crafting captivating animations within React applications.
  • Chart.js: A popular toolkit for generating interactive and customizable charts and graphs.
  • Axios: A promise-based HTTP client for effortlessly making API requests.

Folder Structure ๐Ÿ“‚

  • public: Houses static assets like images.
  • src:
    • components: Home to reusable UI components.
    • hooks: Hosts custom React hooks for efficient data fetching and logic.
    • pages: The heartbeat of the application, where main pages reside.
    • styles: Global styles and Tailwind CSS configuration.
    • utils: Abode of utility functions, including API configuration and data formatting.

Routing with Pages Directory ๐Ÿš€

In Next.js, the pages directory plays a pivotal role in defining routes. Each .js or .jsx file in this directory transforms into a route. The file name takes the reins as the route path. For instance:

  • pages/index.js corresponds to the root path ("/")
  • pages/about.js corresponds to "/about"
  • pages/states.js corresponds to "/states"

Data Fetching with Custom Hooks ๐Ÿ“ก

This project thrives on custom React hooks for seamless data fetching and management. These hooks diligently separate data fetching logic from UI components, fostering code reusability and maintainability.

Deployment on Netlify ๐Ÿš€

Watch the magic unfold as this project gracefully lands on Netlify, which offers seamless integration with Next.js applications. Netlify's auto-deployment prowess simplifies the deployment process, ensuring your application mirrors every push to the repository.

Best Practices ๐Ÿ‘

  • Separation of Concerns: The codebase meticulously segregates components, data fetching logic, and utility functions. This fosters pristine code maintainability and reusability.
  • Custom Hooks: The judicious use of custom hooks for data fetching isolates API interactions, bestowing cleaner components and enhanced reusability.
  • Global Styles: Behold! Global styles harmoniously reside in the src/styles directory, preserving a consistent look and feel across the application.
  • Modular Components: Every UI component exudes modularity and autonomy, paving the way for simpler testing and maintenance.
  • Environmental Variables: Safeguard sensitive data and configuration by orchestrating them through environment variables. This adds a layer of security and flexibility to the project.

License ๐Ÿ“„

This project proudly wears the MIT License badge.

Contact ๐Ÿ“ง

For any queries or ponderings, feel free to strike up a conversation with the Maestro of this Project, Obed Rayo. ๐Ÿ“ฌ

Styling ๐ŸŽจ

All files have been elegantly penned down in the semistandard style.

Process ๐Ÿ–ฅ๏ธ

If you're yearning to witness the symphony of creation, simply type this enchanting spell in your console:

git log --all --graph --decorate --oneline

Authors

covid-19datatracker-fronted's People

Contributors

obedrav avatar snyk-bot 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.