Github Page URL: https://cncf-tags.github.io/cloud-native-ai/
This is a Next.js project bootstrapped with create-next-app
.
- Create an information dashboard using Next.js and Recharts.(https://ably.com/blog/informational-dashboard-with-nextjs-and-recharts#creating-the-charts-component)
- Use D3 library for data visualization when developing the UI(https://d3js.org)
- Fetch data from the summaries data collected by Github Action
- Deploy dashboard app to GitHub Pages with GitHub Actions(https://pages.github.com)
Make sure you installed npm by
npm -v
// when not installed, run
npm install -g npm@latest
Create a next.js file using command "npx create-next-app + your file name"
npx create-next-app conference-dashboard
cd conference-dashboard
Run the app at http://localhost:3000with your browser to see the result.
npm run dev
Editing the page by modifying page.js
. The page auto-updates as you edit the file.
First create a repository for the app, push the code.
Enable GitHub Pages:
- Go to your repository's Settings tab
- Click "Pages" in the sidebar
- Under "Build and Deployment", select "GitHub Actions" as the source
Now you should see your site deployed to GitHub Pages in a few minutes.
- Fetch data from the summaries data collected by Github Action
- Use sidebar to navigate different conferences, render the graph based on the conference name
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
- https://www.youtube.com/watch?v=QyFcl_Fba-k&t=572s - Github Pages Intro
- https://www.youtube.com/watch?v=nded252qxcA - Deploy next.js to Github Pages
- https://ably.com/blog/informational-dashboard-with-nextjs-and-recharts - Building information dashboard