rakibtg / pro.dashboard

Home Page:https://pro-dashboard-olive.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting Started

To run the development server: (assuming you installed packages first)

npm run dev

Open http://localhost:3000 with your browser to see the result.

Video Demo

A quick demo video of this application can be found here: https://pro-dashboard-olive.vercel.app/demo.mp4

Features

  • Filter data for a specific channel, channel group or campaign.

  • Bar chart to visalise gross sales per channel.

  • Data table to display the filtered data.

  • Data aggregated on

    • Channel
    • Channel Group
    • Campaign
    • Total Orders
    • Total Visits

    to show the gross sales, number of orders and number of visits for each row.

  • Ability to sort by any column in the data table.

  • Client side pagination for the data table.

  • Responsive design for mobile and desktop.

  • Unique query string for each filter to allow for sharing of the dashboard. Find out here: example dashboard.

Tech Stack

  • Next.js
  • React
  • TypeScript
  • MUI (Material UI)
  • Vitest

Backend

  • Utilising the Next.js action feature to fetch data from the remote url and then directly pass it to the client.
  • The data is then stored in the local state of the client and used to render the dashboard using react context.
  • Added simple example of component testing.

Deployment

  • Deployed on Vercel.
  • On push to the main branch, the application is automatically deployed to Vercel.

About

https://pro-dashboard-olive.vercel.app


Languages

Language:TypeScript 98.8%Language:CSS 0.9%Language:JavaScript 0.3%