cleared

byKamalika

Here's a complete prompt you can give to another AI to build this product: --- **Build "cleared." — a student wellbeing + productivity app** A web app (React + Tailwind) for secondary school students and teachers that reduces academic overwhelm rather than adding to it. The one guiding idea: **"What if you forget?"** — the product should make forgetting homework harmless, not stressful. **Core philosophy** - Every feature must make a student's life better, not busier. - No streaks, no guilt badges, no red when you fall behind. The app should feel forgiving. - The best system is the one you'll actually use — keep it simple. - Students take responsibility together so teachers don't carry the load. **Users & onboarding** - Two roles on sign-up: **student** and **teacher**. - Teachers must verify with an MOE email address (e.g. `@moe.edu.sg`). Validate the email domain at signup; reject non-MOE addresses for the teacher role. - Onboarding collects: full name, role, school name, grade level (students) or subject taught (teachers), optional profile photo. - After onboarding, users land on a dashboard. A gate redirects users with no profile to onboarding. **Feature 1 — Shared Homework Board (the hero feature)** - Any student or teacher can post a homework assignment to a board shared across their school. - Posting captures: title, subject, class/level (optional), due date (required), due time (optional), estimated hours (optional), description (optional). - All users at the same school see the same board. No teacher has to post — students who heard the assignment can post it for everyone. - Each post shows who posted it (student or teacher) with attribution. - Students tap "Add to tasks" on any homework to sync it into their personal to-do list and calendar in one tap. Once added, it shows "Added ✓". - Teachers can delete any post; students can delete their own posts. - Empty state should say "Be the first to share." **Feature 2 — Personal to-do list** - Create tasks with: title, description, optional sub-steps, priority, due date/time, estimated hours, subject. - Priority uses the Eisenhower matrix: urgent+important / important / urgent / low. Colour-code each quadrant. - Toggle tasks complete/in-progress/todo. Store a `completed_at` timestamp. - Group or filter tasks by priority and status. - Keep the UI calm — never shame the user for incomplete tasks. **Feature 3 — Calendar** - Month grid view with colour-coded event types: class, assignment, exam, personal, reminder. - Create events with title, date, start/end time, type, description. - **Drag-and-drop rescheduling:** drag an event onto any day to change its date. This must feel smooth — no modals, no confirmations, just move it. - Tasks with due dates appear as dots on the calendar. - **Free Google Calendar sync:** each event has an "export to Google Calendar" button that opens Google Calendar's pre-filled event page (URL-based, no paid API, no OAuth). This is one-way (app → Google). - Click a day to see its events and due tasks in a side panel. **Feature 4 — Wellbeing toolkit** - **Balance Planner:** student inputs hours of study, social, and rest for the day. App calculates whether the balance is healthy and gives gentle, non-judgmental advice. - **Task Planner:** brain dump → Eisenhower sort → execution. A guided 3-step flow. - **Pomodoro Timer:** configurable focus/break intervals with a visual countdown. - **Anti-procrastination tool:** a "just 2 minutes" starter — a structured nudge to begin a tiny step, with positive reinforcement. **Feature 5 — Customisable identity** - **ID Card page:** a digital student card showing name, school, role, grade/subject, photo. User can pick background gradient and accent colour. Editable fields. - **Dashboard background:** user can upload a custom background image for their dashboard. Store the URL on their profile. Show a remove button. Apply a dark overlay for readability. **Dashboard** - Personalised greeting (time-based) with the user's first name and school. - Stats row: Due Today, Overdue, All Tasks, Hours Planned (this week), Done Today. - Weekly summary line: "X tasks due this week · Yh of work planned." - Today's tasks (top 5) with priority colour dots. - Today's schedule (today's calendar events). - Overdue alert banner if any tasks are past due. - Quick-action buttons to each feature. - Loading spinner while data loads. **Teacher benefit (passive, no extra work)** - Teachers see the same homework board but from a read-only "workload intelligence" angle: a summary of what's due across their school/level this week, aggregated from student posts. This helps them spot deadline clustering without data entry. **Navigation** - Sidebar on desktop (icons + labels), bottom tab bar on mobile. - Tabs: Dashboard, Calendar, Homework, To-Do, Toolkit, ID Card. - Logout button. **Design & aesthetics** - Light, airy theme. Not a dark dashboard. Should feel calming, not corporate. - Font: DM Sans throughout. Use a display font for headings. - Gradient accent (purple → teal) for branding and highlights. - Glassmorphism cards with subtle aurora-style borders. - Text must be easily readable — prioritise contrast on muted text. Don't use pale grey on light backgrounds for anything important. - Smooth Framer Motion transitions (fade-up on scroll, staggered stats). Never heavy or slow. - Responsive: works cleanly on phone and desktop. **Landing page (before login)** - A narrative-driven marketing page that tells the story: 1. Hero: "cleared." with the tagline "do less, breathe more." TDSI project by Cedar Girls' Secondary School. 2. "The Real Problem" — the 11 PM overwhelm scene. Statistics on student stress. The insight that current productivity apps make students feel worse. 3. "What if you forget?" — the hero idea. Reframe around the shared homework board: one person remembers, everyone's covered. Then acknowledge "and if you forget to use the app, that's fine too — no guilt." 4. "Who We Are" — students who lived the burnout and built the fix. The one rule: every feature must make life better, not busier. 5. "What's Inside" — five features, honest count, simple descriptions. 6. CTA: "Less stress. More life." - Two buttons in the hero: "Get Started" (→ dashboard) and "Our Story" (scrolls to narrative). **Data model (entities)** - `UserProfile`: user_email, full_name, role (student/teacher), school_name, grade_level, subject, moe_id, profile_photo_url, theme_color, wallpaper, custom_bg_url, dashboard_bg_url. - `Homework`: teacher_email, teacher_name, posted_by_name, posted_by_role (teacher/student), title, description, subject, school_name, class_level, due_date, due_time, estimated_hours. - `Task`: user_email, title, description, steps (array), priority, status, due_date, due_time, estimated_hours, subject, completed_at. - `CalendarEvent`: user_email, title, description, date, start_time, end_time, color, type (class/assignment/exam/personal/reminder). - Built-in `User` entity for auth (id, email, full_name, role). Users join via invite, not manual creation. **Tech constraints** - React + Vite + Tailwind CSS + shadcn/ui components. - Icons: lucide-react only. - Auth handled by the platform — don't build login pages. - No paid APIs. Calendar sync via Google Calendar URL template (free). - Realtime updates where possible (homework board should feel live). **Don't include** - No streaks, no leaderboards, no gamified pressure. - No dark corporate dashboard aesthetic. - No feature that requires teachers to do daily manual work. - Don't overcomplicate — if a feature adds complexity without reducing stress, cut it. --- Copy that and paste it to the other AI. You may want to tweak the school name, colours, or add your own data seeding requirements before sending.

Landing
Landing

Comments (0)

No comments yet. Be the first!

System Requirements

System Requirement Document
Page 1 of 5

cleared — System Requirements Document

1. Introduction

The "cleared" project is a web application designed to enhance student wellbeing and productivity by reducing academic overwhelm. It is specifically tailored for secondary school students and teachers in Singapore, leveraging a calm and forgiving approach to task management and academic responsibilities.

2. System Overview

The "cleared" app is a web-based platform built using React and Tailwind CSS, aimed at providing a supportive environment for students and teachers. It focuses on simplifying task management, promoting wellbeing, and fostering a collaborative academic community without adding stress or complexity.

Key Features:

  • Shared Homework Board
  • Personal To-Do List
  • Calendar with Google Sync
  • Wellbeing Toolkit
  • Customizable Identity
Page 2 of 5

3. Functional Requirements as Story Points

  • As a student, I should be able to sign up and verify my role to access the app.
  • As a teacher, I must verify my MOE email to sign up and access the app.
  • As a user, I should be able to post and view homework assignments on a shared board.
  • As a student, I should be able to add homework to my personal to-do list and calendar.
  • As a teacher, I should be able to delete any post on the homework board.
  • As a student, I should be able to create and manage tasks with priority and status.
  • As a user, I should be able to view a calendar with color-coded events and tasks.
  • As a user, I should be able to drag-and-drop events to reschedule them smoothly.
  • As a user, I should be able to sync events with Google Calendar.
  • As a student, I should be able to use a Balance Planner to assess my daily activities.
  • As a student, I should be able to use a Task Planner to organize tasks.
  • As a student, I should be able to use a Pomodoro Timer for focused study sessions.
  • As a student, I should be able to use an Anti-procrastination tool to start tasks.
  • As a user, I should be able to customize my ID card and dashboard background.
  • As a user, I should be able to navigate the app using a sidebar or tab bar.
  • As a teacher, I should be able to view workload intelligence without extra data entry.

4. User Personas

  • Student: A secondary school student who uses the app to manage homework, tasks, and wellbeing.
  • Teacher: A secondary school teacher who oversees student progress and manages assignments.
Page 3 of 5

5. Core User Flows

  • Student Onboarding: Sign up → Verify role → Complete profile → Access dashboard.
  • Teacher Onboarding: Sign up → Verify MOE email → Complete profile → Access dashboard.
  • Homework Management: Post homework → View shared board → Add to personal tasks.
  • Task Management: Create task → Set priority/status → Toggle completion.
  • Calendar Management: Create event → Drag to reschedule → Sync with Google Calendar.
  • Wellbeing Toolkit: Use Balance Planner → Task Planner → Pomodoro Timer → Anti-procrastination tool.
  • Customization: Edit ID card → Upload dashboard background → Save changes.

6. Visuals Colors and Theme

  • primary: #6a1b9a (Purple)
  • primary_light: #9c4dcc (Light Purple)
  • secondary: #00796b (Teal)
  • accent: #ff4081 (Pink)
  • highlight: #ffeb3b (Yellow)
  • bg: #ffffff (White)
  • surface: #f5f5f5 (Light Grey)
  • text: #212121 (Dark Grey)
  • text_muted: #757575 (Muted Grey)
  • border: #e0e0e0 (Light Grey)
Page 4 of 5

7. Signature Design Concept

Interactive Homework Galaxy: The landing page features an interactive galaxy where each star represents a homework assignment. Users can click on stars to view details, drag them to their task list, and see constellations form as tasks are completed. The galaxy is animated using motion/react for smooth transitions and interactions.

LANDING HERO MOTION BRIEF

The hero section presents a narrative-driven animation: "What if you forget?" A student in a classroom setting is surrounded by floating homework assignments. As they tap on one, it seamlessly integrates into their personal calendar, symbolizing the app's ability to manage tasks effortlessly. The animation loops every 10 seconds, with a pause on hover for interaction.

8. Interaction Model & Motion Direction

  • Interaction Model: Animated
  • Motion Direction: Smooth transitions with Framer Motion, including fade-up on scroll and staggered stats.
  • Distinctive Mechanics: Each section features unique animations, such as morphing SVGs and kinetic typography.

9. Non-Functional Requirements

  • The app must be responsive and function seamlessly on both desktop and mobile devices.
  • Ensure high accessibility standards, including contrast and readability.
  • Provide real-time updates for shared boards and tasks.
Page 5 of 5

10. Tech Stack

  • Frontend: React, Vite, Tailwind CSS, shadcn/ui components
  • Icons: lucide-react
  • Auth: Platform-handled
  • Calendar Sync: Google Calendar URL template
  • Realtime Updates: Enabled for shared boards

11. Assumptions and Constraints

  • Teachers must have an MOE email for verification.
  • No paid APIs are to be used.
  • The app should not include gamified elements like streaks or leaderboards.

12. Glossary

  • MOE: Ministry of Education
  • Eisenhower Matrix: A task prioritization framework
  • Pomodoro Timer: A time management method using intervals
  • Glassmorphism: A design style using transparency and blur effects

This document outlines the comprehensive requirements for the "cleared" project, ensuring a focused and user-friendly experience for both students and teachers.

Landing design preview
Landing: View Info
Landing: Sign Up
Onboarding: Verify Role
Onboarding: Complete Profile
Dashboard: View Stats
Homework: View Board
Homework: Post Assignment
Homework: Add To Tasks
Todo: Manage Tasks
Calendar: View Events
Calendar: Drag Reschedule
Calendar: Sync Google
Toolkit: Use Balance Planner
Toolkit: Use Pomodoro Timer
IDCard: Customize Card
Landing design preview
Landing: View Info
Landing: Sign Up
Onboarding: Verify Role
Onboarding: Complete Profile
Dashboard: View Stats
Homework: View Board
Homework: Post Assignment
Homework: Add To Tasks
Todo: Manage Tasks
Calendar: View Events
Calendar: Drag Reschedule
Calendar: Sync Google
Toolkit: Use Balance Planner
Toolkit: Use Pomodoro Timer
IDCard: Customize Card