uchill/front_minimal
Dev Server b55c8dc602 feat: migrate front_minimal from Next.js to Vite + React SPA
- package.json: replace next scripts with vite dev/build/preview,
  add react-router-dom + vite/plugin-react/svgr devDeps, remove next + @mui/material-nextjs
- vite.config.js: add NEXT_PUBLIC_* → process.env define map for backward compat,
  add rollup manual chunks (mui, fullcalendar), loadEnv support
- front_minimal/.env: add VITE_* prefix vars alongside legacy NEXT_PUBLIC_*
- routes/sections.jsx: replace 691-line template routes with 160-line platform-only router
- routes/paths.js: trim to platform paths only (no mock IDs, no template pages)
- app.jsx: remove CheckoutProvider (not needed)
- theme-provider.jsx: remove AppRouterCacheProvider from @mui/material-nextjs
- routes/hooks: replace next/navigation re-exports with react-router-dom wrappers
  (useRouter → useNavigate adapter, useSearchParams, usePathname, useParams)
- routes/components/router-link.jsx: Link from react-router-dom
- sections: replace all next/navigation imports with react-router-dom
- analytics-view, my-progress-view: replace next/dynamic with direct import (no SSR)
- Remove all 'use client' directives (231 files) — not needed in Vite SPA
- Build: vite build ✓ in ~8s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-09 17:04:53 +03:00
..
public feat: calendar form improvements + real-time sync 2026-03-08 02:46:06 +03:00
src feat: migrate front_minimal from Next.js to Vite + React SPA 2026-03-09 17:04:53 +03:00
.editorconfig feat: calendar form improvements + real-time sync 2026-03-08 02:46:06 +03:00
.eslintignore feat: calendar form improvements + real-time sync 2026-03-08 02:46:06 +03:00
.eslintrc.cjs feat: calendar form improvements + real-time sync 2026-03-08 02:46:06 +03:00
.gitignore feat: calendar form improvements + real-time sync 2026-03-08 02:46:06 +03:00
.prettierignore feat: calendar form improvements + real-time sync 2026-03-08 02:46:06 +03:00
Dockerfile feat: calendar form improvements + real-time sync 2026-03-08 02:46:06 +03:00
README.md feat: calendar form improvements + real-time sync 2026-03-08 02:46:06 +03:00
index.html feat: migrate front_minimal from Next.js to Vite + React SPA 2026-03-09 17:04:53 +03:00
jsconfig.json feat: calendar form improvements + real-time sync 2026-03-08 02:46:06 +03:00
next.config.mjs feat: calendar form improvements + real-time sync 2026-03-08 02:46:06 +03:00
package-lock.json feat: board list view, excalidraw basePath fix, analytics, feedback pages 2026-03-09 16:35:30 +03:00
package.json feat: migrate front_minimal from Next.js to Vite + React SPA 2026-03-09 17:04:53 +03:00
prettier.config.mjs feat: calendar form improvements + real-time sync 2026-03-08 02:46:06 +03:00
vite.config.js feat: migrate front_minimal from Next.js to Vite + React SPA 2026-03-09 17:04:53 +03:00
yarn.lock feat: board list view, excalidraw basePath fix, analytics, feedback pages 2026-03-09 16:35:30 +03:00

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:

Full version

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.