Giter Club home page Giter Club logo

react-dashboard's Introduction

React Dashboard ๐Ÿค“

this is a react dashboard example built with no library other then react and no css framework i will try to make this dashboard extansible as possible and explain my desicions

TODOs ๐Ÿคฏ:

  • Write Some Tests
  • enhance the ui => Css => Design
  • Optimise the app (Speed , Memozation , Keys , errors , logs , sepreate constants , clean up , comments)

Done ๐Ÿ˜Š:

  • Impliment the basic architecture
  • Build the main app container (Header , sidebar , Main Layout)
  • Build Header Components
  • Build SideBar Components
  • Build Routing systems for Dashboard
  • Build Flights Page
  • Fix Cursors and some designee issues
  • Build Hotels Page
  • Build SliderBullet component
  • Fix Css

Features ๐Ÿ’Š:

Dashboard Router :

  • Basicly the purpose of this dashboard is to build each compoent without any library or framework beside react. so for sure we need a router to navigate the dashboard pages so i implementded a dashboard router wich is inspired from react router dom api, this router dosen't use the window href link or window link to change location it dosn't interact with any of that it uses an internal path to navigate pages and change component in the current view in the section i am gone present the router elements and how it does work it's highly reusable .

DashBoardRouter Component:

this component is the hoc or the parent component ,it uses the children api and context api and the useState Hook to inject the path state into the children components using the context API.

alt text

Router Component:

Router Component is a hoc that wraps the Route components and basicly what it does is it grabes all the route Components and check wich of them has a prop to that correspand to the current path it make use of the RouterContext api and the react children API

alt text

Route Component:

Route Component is only an interface to add another layer on top of components insider the RouterContext to make a clearer and more maintainable and reusable Routing Module

Link Component:

Link Component is the component that redirects the page to another view if clicked it basicly change the path global state throught the context api and react state event delegation principale

alt text


Dashboard Flights Page :

A page that present a list of flights in elegant minimalistic data table

Dashboard Hotels Page :

A page that present a list of hotels and filters in a css intensive layout

SliderBullet component :

a component that i built for the slidding effect of the filters and this component can be utilized to increase or decrease state variables to create a beautiful transition effects

react-dashboard's People

Contributors

chamsbouzaiene 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.