An open API service indexing awesome lists of open source software.

https://github.com/lehcode/chart-demo

A demo project showcasing the integration of Vue.js and Chart.js to create interactive and dynamic charts
https://github.com/lehcode/chart-demo

babel chartjs jest jest-tests scss ts-node typescript vuejs vuex webpack

Last synced: about 1 year ago
JSON representation

A demo project showcasing the integration of Vue.js and Chart.js to create interactive and dynamic charts

Awesome Lists containing this project

README

          

# VueJS + ChartJS Demo

## Description
This is a demo project showcasing the integration of **Vue.js** and **Chart.js** to create interactive and dynamic charts. The application allows users to visualize data through various chart types while leveraging Vue.js for state management and reactivity.

## Features
- **Interactive Charts** using Chart.js
- **Vue.js Framework** for frontend development
- **TypeScript Support** for improved code maintainability
- **Vuex State Management** for handling application state
- **Vue Router** for navigation
- **Unit Testing** using Jest and Vue Test Utils
- **Draggable & Resizable Charts** with `vue-draggable-resizable`
- **Express.js Backend** for serving the application
- **SCSS Support** for styling

## Technologies Used
- **Frontend**:
- Vue.js (Vue 2)
- Vue Router
- Vuex
- Chart.js
- TypeScript
- SCSS
- Prettier & ESLint

- **Backend**:
- Express.js
- Body-parser
- Compression
- Connect
- Cookie-session

- **Development Tools**:
- Jest (for unit testing)
- Vue CLI
- Webpack
- Babel
- ts-node
- Sass-loader

## Project Setup

### Install dependencies
```sh
yarn install
```

### Run the development server
```sh
yarn serve
```

### Build for production
```sh
yarn build
```

### Run unit tests
```sh
yarn test:unit
```

### Lint and fix files
```sh
yarn lint
```

## Configuration
For additional configuration, see the [Vue CLI Configuration Reference](https://cli.vuejs.org/config/).