https://github.com/xingxing-collective/dashboard
The dashboard framework use Nuxt, Chart created use antv
https://github.com/xingxing-collective/dashboard
antv dashboard g2 g6 nuxt nuxtui
Last synced: 7 months ago
JSON representation
The dashboard framework use Nuxt, Chart created use antv
- Host: GitHub
- URL: https://github.com/xingxing-collective/dashboard
- Owner: xingxing-collective
- License: mit
- Created: 2024-06-25T02:13:06.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-19T09:11:02.000Z (almost 2 years ago)
- Last Synced: 2025-01-16T07:21:56.405Z (over 1 year ago)
- Topics: antv, dashboard, g2, g6, nuxt, nuxtui
- Language: Vue
- Homepage:
- Size: 16.7 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# System built with Nuxt βοΈ
A clean, elegant, beautiful and powerful admin template using [Nuxt](https://nuxt.com)
[](https://xingxing-admin.vercel.app)
## π Features
- Build visual graphics using [AntV](https://antv.antgroup.com/), [Echarts](https://echarts.apache.org), [Unoivs](https://unovis.dev/)
- Authentication backed-in using [nuxt-auth-utils](https://github.com/atinux/nuxt-auth-utils)
- User interface made with [Nuxt UI](https://ui.nuxt.com)
## π Live demo
https://xingxing-admin.vercel.app
## π§ TODO
- [x] Login with Github
- [x] Create chart with AntV
- [x] Create chart with Echarts
- [x] Create chart with Unoivs
- [ ] Sign in with Google
- [ ] Sign in with Email
- [ ] Profile settings
## π οΈ Setup
Make sure to install the dependencies using [pnpm](https://pnpm.io/):
```bash
pnpm i
```
If you want to use the map, please apply the key from the following map providers:
- [ι«εΎ·ε°εΎ](https://lbs.amap.com/api/javascript-api-v2/prerequisites)
- [ηΎεΊ¦ε°εΎ](https://lbs.baidu.com/index.php?title=jspopularGL/guide/getkey)
- [Tencent Map](https://lbs.qq.com/webApi/javascriptGL/glGuide/glBasic)
Add the variables in the `.env` file:
```bash
NUXT_GAODE_MAP_TOKEN=
NUXT_BAIDU_MAP_TOKEN=
NUXT_TENCENT_MAP_TOKEN=
```
Create a [GitHub Oauth Application](https://github.com/settings/applications/new) with:
- Homepage url: `http://localhost:3000`
- Callback url: `http://localhost:3000/api/auth/github`
Add the variables in the `.env` file:
```bash
NUXT_OAUTH_GITHUB_CLIENT_ID="my-github-oauth-app-id"
NUXT_OAUTH_GITHUB_CLIENT_SECRET="my-github-oauth-app-secret"
```
To create sealed sessions, you also need to add `NUXT_SESSION_PASSWORD` in the `.env` with at least 32 characters:
```bash
NUXT_SESSION_PASSWORD="your-super-long-secret-for-session-encryption"
```
## π» Development
Start the development server on http://localhost:3000
```bash
npm run dev
```
## π License
[MIT License](./LICENSE)