Skip to content

hoyangtsai/power-analytics

Repository files navigation

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/