hoyangtsai / power-analytics

Demo of a green power dashboard

Home Page:https://hoyangtsai.gitlab.io/power-analytics/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Power Analytics

Tech Stack

  • React 18
  • React-Redux with RTKs (redux-toolkit)
  • React-Router
  • eCharts

Development

Before running npm command, remember to install NodeJS modules

npm install

Start dev server

npm run dev

Production

Packing the project source and generating a public static directory by webpack

npm run build

Then hosting the /public folder or deploying wherever

Production with Docker

Building an image

docker build <project_path> -t <image_name>

Running via docker-compose

docker-compose up -d

Visit at http://localhost:9000/

About

Demo of a green power dashboard

https://hoyangtsai.gitlab.io/power-analytics/


Languages

Language:JavaScript 82.5%Language:SCSS 17.1%Language:HTML 0.2%Language:Dockerfile 0.1%