AWS Builder Center
Weekend Productivity Challenge: SmartPriority

Weekend Productivity Challenge: SmartPriority

An AI-powered productivity tool that helps students prioritize their daily tasks by urgency, impact, and effort generating an optimal schedule using Amazon Bedrock and Nova Lite. Built to solve a real problem I see every day as a Student Placement Coordinator.

Student Fellow @Databricks | AWS Certified (x5) | Cloud - AI - DevOps - SDE | Microsoft (x5) |

Weekend Productivity Challenge: SmartPriority

An AI-powered productivity tool that helps students prioritize their daily tasks by urgency, impact, and effort — generating an optimal schedule using Amazon Bedrock and Nova Lite.



Vision & What the App Does

As a Student Placement Coordinator at my college, I guide hundreds of students through their placement preparation journey — from aptitude tests and coding challenges to technical interviews and group discussions. The number one problem I see students face isn't a lack of effort — it's a lack of prioritization.
Every day, students come to me overwhelmed: "Sir, I have a coding contest tomorrow, a mock interview on Friday, my resume isn't ready, and I haven't started DSA revision. What should I do first?"
I built SmartPriority to answer exactly this question — not just for one student, but for anyone drowning in tasks without a clear starting point.
SmartPriority is a personal AI-powered productivity tool where you add your tasks (with optional deadlines and categories like Work, Study, Personal, or Health), and within seconds, Amazon Nova Lite analyzes each task across three critical dimensions:
  • Urgency — How time-sensitive is this? Is there a deadline approaching?
  • Impact — How much does completing this actually move the needle on your goals?
  • Effort — How much time and energy will it realistically require?
Based on this multi-dimensional analysis, SmartPriority generates:
  1. A priority ranking with clear, human-readable reasoning for each task's position
  1. An optimal daily schedule starting from 9:00 AM, with realistic time blocks and breaks between tasks
  1. Real-time dashboard stats — total tasks, high-priority count, and estimated completion time
For example, a student preparing for placements might add:
  • "Complete LeetCode medium problems" (Deadline: Tomorrow)
  • "Update resume with project details" (No deadline)
  • "Practice HR interview questions" (Deadline: Friday)
  • "Attend gym session" (Personal)
SmartPriority will instantly rank these intelligently — the LeetCode problems get top priority (urgent + high impact), resume update comes next (high impact, no deadline pressure), HR prep follows, and gym gets scheduled as a productive break.
The UI features a modern dark-themed glassmorphism design with animated particle backgrounds, smooth transitions, and color-coded priority levels. It's designed to feel premium and motivating — because students are more likely to follow a plan that looks exciting.

How I Built It

Motivation

I wanted to build something I'd actually recommend to my students — not a toy project, but a genuinely useful tool. As someone who regularly helps students plan their preparation schedules, I knew exactly what the tool needed to do.

Tech Stack

  • Frontend: Vanilla HTML/CSS/JavaScript (single file, no frameworks, under 30KB)
  • Backend: AWS Lambda (Python 3.12)
  • AI: Amazon Bedrock — Nova Lite model
  • Hosting: AWS Amplify

Development Process

  1. UX Design First — I built the entire frontend with a demo mode that simulates AI responses using heuristic scoring (deadline proximity × category weight × task complexity). This let me validate the user flow before touching the backend.
  1. Prompt Engineering — The core challenge was getting Nova Lite to return consistent, structured JSON. My approach:
  • Provided an explicit JSON schema in the prompt
  • Set temperature to 0.3 for consistency over creativity
  • Added the instruction "Return ONLY the JSON, no other text"
  • Built a parsing layer to handle occasional markdown code block wrappers
  1. Lambda Backend — A lightweight Python function that receives the task list via API Gateway, constructs a detailed prompt, calls Bedrock's InvokeModel API, parses the response, and returns prioritized results.
  1. Integration & CORS — Connected frontend to backend with proper CORS headers and OPTIONS preflight handling. Added graceful fallback to demo mode if the API is unreachable.

Challenges

  • JSON consistency — Nova Lite occasionally wrapped responses in code blocks. Added a stripping layer to handle this edge case.
  • Cold start + inference latency — Total response time could be 5-8 seconds. Designed an engaging loading animation so users stay engaged.
  • Graceful degradation — The app works fully offline in demo mode, ensuring students always get results even with poor connectivity.

AWS Services Used / Architecture Overview

┌─────────────────┐ ┌──────────────────┐ ┌─────────────────────┐
│ │ │ │ │ │
│ Frontend │──────▶│ API Gateway │──────▶│ AWS Lambda │
│ (AWS Amplify) │ │ (REST API) │ │ (Python 3.12) │
│ │◀──────│ │◀──────│ │
└─────────────────┘ └──────────────────┘ └──────────┬──────────┘
│
▼
┌─────────────────────┐
│ Amazon Bedrock │
│ (Nova Lite v1) │
└─────────────────────┘

Service
Purpose
Amazon Bedrock (Nova Lite)
AI foundation model for multi-dimensional task analysis, priority scoring, and schedule generation
AWS Lambda
Serverless compute — handles requests, prompt construction, Bedrock calls, response parsing
Amazon API Gateway
REST API endpoint with CORS support, connects frontend to Lambda
AWS Amplify
Static site hosting with automatic HTTPS, global CDN, zero-config deployment
IAM
Service roles and least-privilege policies for Lambda → Bedrock access
The architecture is fully serverless no databases needed since prioritization is computed on-the-fly. Zero cost when not in use, automatic scaling when traffic spikes.
Cost: Effectively $0 under AWS Free Tier Lambda (1M requests/month), API Gateway (1M calls/month), Amplify (5GB hosting), and Bedrock Nova Lite's generous free tier cover personal use completely.

What I Learned

  1. Amazon Bedrock is production-ready with minimal code — Calling Nova Lite via boto3's invoke_model is just a few lines. The real skill is prompt engineering, not infrastructure.
  1. Structured output from LLMs needs explicit schemas — Saying "return JSON" isn't enough. Providing exact field names, types, and examples dramatically improves reliability.
  1. The new auto-enabled model access is a game-changer — Models activate automatically on first invocation. No manual approval, no waiting.
  1. Serverless is perfect for weekend projects — Lambda + API Gateway gave me a production-ready, auto-scaling backend in under 15 minutes.
  1. AWS Amplify makes deployment trivial — From ZIP file to live HTTPS URL in 2 minutes. No DNS, no certificates needed.
  1. Demo mode is essential for resilient UX — Building the frontend to work without the backend meant faster development and users always get a result.
As a Placement Coordinator, I plan to actively recommend SmartPriority to students during placement season — helping them structure their preparation intelligently rather than burning out on unfocused effort.

Link to App or Repo



Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article