ESP32-S3 Bench Guide
ESP32‑S3 N16R8 벤치 가이드: 실시간 핀아웃, 강의, 시뮬레이터 및 벤치 로그
모로코 사립학교를 위한 하나의 플랫폼에서 출석·청구 자동화·역할별 대시보드 제공
Unifiez votre institution sur une seule plateforme. Présences fluides, facturation automatisée et tableaux de bord par rôle pour les écoles privées marocaines.
교육TypeScript · HTMLGitHub @jalalzailachi온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
A modern, full-stack school management system built with Next.js, Expo, and Supabase. Tadriss (تدريس — teaching in Arabic) is an all-in-one platform for managing private educational institutions. It provides an admin web dashboard for school administrators and a mobile app for teachers and students. [README 설치·사용 부분 발췌] Getting Started • Node.js ≥ 20 • pnpm ≥ 9.15 • Docker (optional — only needed for local Supabase)README 전문 보기 ↗
Tadriss (تدريس — teaching in Arabic) is an all-in-one platform for managing private educational institutions. It provides an admin web dashboard for school administrators and a mobile app for teachers and students.
| Feature | Description |
|---|---|
| 🏫 Institution Management | Multi-tenant — each institution is fully isolated |
| 👥 User Roles | Admin, Teacher, Student with role-based access (RLS) |
| 📊 Admin Dashboard | Real-time stats, enrollment charts, activity feed |
| 📅 Attendance | Session-based attendance with teacher/student views |
| 📝 Homework | Assign, track, and manage assignments per class |
| 💳 Payments | Fee management, payment tracking, receipt generation |
| 🔐 Auth | Email/password signup with institution onboarding |
| 🌍 i18n Ready | French & Arabic support with RTL layout |
| Layer | Technology |
|---|---|
| Web App | Next.js 16 + Tailwind CSS v4 |
| Mobile App | Expo + NativeWind (Tailwind for React Native) |
| Backend | Supabase (Postgres, Auth, Edge Functions, RLS) |
| Shared | TypeScript monorepo with shared types, validators, and constants |
| Monorepo | pnpm workspaces + Turborepo |
tadriss/
├── apps/
│ ├── web/ # Next.js admin dashboard
│ │ ├── src/
│ │ │ ├── app/
│ │ │ │ ├── (auth)/ # Login, Signup, Reset Password
│ │ │ │ ├── (dashboard)/ # Main dashboard (protected)
│ │ │ │ ├── globals.css # Tailwind v4 theme + custom styles
│ │ │ │ └── layout.tsx # Root layout (fonts, metadata)
│ │ │ ├── components/ # Sidebar, Header
│ │ │ ├── lib/supabase/ # Client, Server, Middleware helpers
│ │ │ └── middleware.ts # Auth guard + session refresh
│ │ ├── postcss.config.mjs
│ │ └── tailwind.config.ts
│ │
│ └── mobile/ # Expo React Native app
│ ├── app/
│ │ ├── _layout.tsx # Root layout (NativeWind init)
│ │ ├── (student)/ # Student home screen
│ │ └── (teacher)/ # Teacher home screen
│ ├── babel.config.js
│ ├── metro.config.js
│ └── tailwind.config.js
│
├── packages/
│ └── shared/ # Shared TypeScript package
│ ├── constants/ # Status enums, role definitions
│ ├── validators/ # Zod schemas (or manual validators)
│ └── supabase/ # DB types, query helpers
│
├── supabase/
│ ├── config.toml # Supabase CLI config
│ ├── migrations/ # 9 SQL migration files
│ │ ├── 00001_infrastructure.sql
│ │ ├── 00002_create_institutions.sql
│ │ ├── 00003_create_profiles.sql
│ │ ├── 00004_create_classes.sql
│ │ ├── 00005_create_attendance.sql
│ │ ├── 00006_create_homework.sql
│ │ ├── 00007_create_payments.sql
│ │ ├── 00008_create_audit_log.sql
│ │ └── 00009_create_rls_policies.sql
│ ├── functions/ # Supabase Edge Functions (Deno)
│ │ ├── onboard-institution/
│ │ ├── dashboard-stats/
│ │ ├── invite-teacher/
│ │ ├── generate-receipt/
│ │ └── void-payment/
│ └── seed.sql
│
├── design/stitch/ # Original HTML design exports
├── dev.sh # Dev startup script
├── turbo.json # Turborepo pipeline config
└── package.json # Root workspace config
git clone <repo-url> tadriss
cd tadriss
pnpm install
Create .env.local files for each app:
apps/web/.env.local
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJ...your-anon-key
SUPABASE_SERVICE_ROLE_KEY=eyJ...your-service-role-key
apps/mobile/.env.local
EXPO_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
EXPO_PUBLIC_SUPABASE_ANON_KEY=eyJ...your-anon-key
You can find these values in your Supabase Dashboard → Settings → API.
Link your Supabase project and push migrations:
npx supabase link --project-ref <your-project-ref>
npx supabase db push --include-all
npx supabase functions deploy --project-ref <your-project-ref>
# Start everything (requires Docker for local Supabase)
./dev.sh
# Or run individual apps
./dev.sh web # Web only → http://localhost:3000
./dev.sh mobile # Mobile only → Expo Go / browser
The tadriss-web application is heavily optimized for zero-downtime deployment on Oracle Cloud Linux using a dual-layer reverse proxy stack.
Architecture:
/_next/static/) directly from the SSD to mathematically eliminate Turbopack routing bugs.server.js standalone Node instance in the background.To push a new update from your local Mac:
apps/web/.env.local contains all production Supabase keys84.8.223.50):./deploy_to_oracle.sh
(The script will automatically compile Turbopack relative to __dirname, recursively rsync the nested files, forcefully inject the environment variables, and restart PM2 without physical server downtime).
erDiagram
institutions ||--o{ profiles : "has"
institutions ||--o{ classes : "has"
institutions ||--o{ payments : "has"
institutions ||--o{ enrollment_fees : "has"
profiles ||--o{ class_teachers : "teaches"
profiles ||--o{ class_students : "enrolled_in"
profiles ||--o{ attendance_records : "has"
profiles ||--o{ payments : "pays"
classes ||--o{ class_teachers : "has"
classes ||--o{ class_students : "has"
classes ||--o{ attendance_sessions : "has"
classes ||--o{ homework : "has"
attendance_sessions ||--o{ attendance_records : "contains"
payments ||--o{ receipts : "generates"
All tables are protected with RLS policies. Access is controlled via JWT claims:
get_institution_id() — extracts institution from token (zero-query)get_user_role() — extracts role from token (zero-query)| Role | Access |
|---|---|
institution_admin | Full CRUD on all data within their institution |
teacher | Read classes, manage attendance & homework for assigned classes |
student | Read own enrollment, attendance, homework, payments |
| Command | Description |
|---|---|
pnpm run dev:web | Start Next.js dev server |
pnpm run dev:mobile | Start Expo dev server |
pnpm run build | Build all apps |
pnpm run type-check | TypeScript check across all packages |
pnpm run lint | Lint all packages |
pnpm run db:gen-types | Generate TypeScript types from Supabase schema |
| Function | Purpose |
|---|---|
onboard-institution | Creates institution + admin user + profile on signup |
dashboard-stats | Returns aggregated stats for the admin dashboard |
invite-teacher | Sends invitation email for new teachers |
generate-receipt | Creates PDF receipts for payments |
void-payment | Voids a payment (service role only, audit logged) |
Private — All rights reserved.