Giter Club home page Giter Club logo

analytics-clone's Introduction

Nextjs G-Analytics

This project is a simple analytics dashboard webapp with 1 screen.



image

Live at https://analytics-clone.vercel.app/


Technolgies highlights

  • project has been built using nextjs (reactjs framework).
  • used css preprocessor sass for styling purpose.
  • redux-toolkit for handling global states.
  • used google charting library to draw required charts.
  • a dockerfile and docker-compose.yml has been provided to up and run the app in container.
  • use of react-icon package for icons.
  • use of typscript for type safety.

Requirements

You need node version >= 18 to run this web app.

Getting Started

From your command line:

# Clone this repository
git clone https://github.com/neeleshio/analytics-clone.git

# Go into the repository
$ cd analytics-clone

with docker, to run the app:

docker compose up

without docker:

# Install dependencies
npm install

# Run the frontend
npm run dev

IDE setup

VSCode is highly preferred. Please ensure you have installed these extensions:

  • Prettier
  • eslint

Design Philosophy

src/components

This folder includes stateless components meaning no state has been handled inside the components.

Main components:

  • Header
  • Sidebar
  • Toolbar
  • Filter By Date
  • Charts

src/containers

  • This foldre is actually where we are importing and using our components as required.
  • In these containers, we are handling all the states and side effects.

src/data

Inludes 2 files: chartData and sidebarData.

  • chartData file has an exported custom function called generateRandomChartData() which is responsible for generating fake static data for our charts.

Charts used

  • Line Chart
  • Bar Chart
  • Pie Chart

analytics-clone's People

Contributors

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