ESP32-S3 Bench Guide
ESP32-S3 N16R8 bench guide: live pinout, lessons, simulators and the bench log.
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.
Translation pending
EducationTypeScript · HTMLGitHub @jalalzailachiOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Loading the full README. The saved excerpt is shown below.
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)Read the full 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.