- Board: replace blank iframe with board list (my_boards + shared_with_me), mentor gets per-student buttons to open/create boards, iframe fills full available height via CSS vars (dvh) - Excalidraw: build with NEXT_PUBLIC_BASE_PATH=/devboard so _next/ assets served under /devboard/_next/ and nginx path proxy works correctly - Nginx: preserve /devboard/ path in proxy_pass (no trailing slash), add /yjs WebSocket proxy to devapi.uchill.online for dev YJS on port 1235 - Analytics: real API charts (income/lessons/students) with DateRangePicker - Feedback: mentor kanban view of completed lessons, grade + notes drawer - Nav: dynamic role-based menu (getNavData(role)), mentor-only analytics/feedback - New API utils: analytics-api.js, board-api.js (full), dashboard-api getLessons() - Routes: paths.dashboard.analytics, feedback, board added Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .editorconfig | ||
| .eslintignore | ||
| .eslintrc.cjs | ||
| .gitignore | ||
| .prettierignore | ||
| Dockerfile | ||
| README.md | ||
| jsconfig.json | ||
| next.config.mjs | ||
| package-lock.json | ||
| package.json | ||
| prettier.config.mjs | ||
| yarn.lock | ||
README.md
Prerequisites
- Node.js 20.x (Recommended)
Installation
Using Yarn (Recommended)
yarn install
yarn dev
Using Npm
npm i
npm run dev
Build
yarn build
# or
npm run build
Mock server
By default we provide demo data from : https://api-dev-minimal-[version].vercel.app
To set up your local server:
-
Resource: Download.
Full version
- Create React App (migrate to CRA).
- Next.js
- Vite.js
Starter version
- To remove unnecessary components. This is a simplified version (https://starter.minimals.cc/)
- Good to start a new project. You can copy components from the full version.
- Make sure to install the dependencies exactly as compared to the full version.
NOTE: When copying folders remember to also copy hidden files like .env. This is important because .env files often contain environment variables that are crucial for the application to run correctly.