AWS Builder Center
Weekend Annoying Task Challenge: Assignment Decoder

Weekend Annoying Task Challenge: Assignment Decoder

Assignment Decoder extracts the important details from assignment sheets in seconds, helping students stop rereading PDFs and start working on what actually matters.

Student at MSRIT

Vision & What the App Does

Every semester I end up doing the same thing: opening an assignment PDF, scrolling through five pages trying to find the due date, then scrolling back because I forgot what the deliverables were. By the time I figure everything out, I've probably read the whole document twice. And somehow I still miss the one line that says peer review is required, or that email submissions don't count.
So for this weekend I built Assignment Decoder.
landing page

You upload an assignment PDF. The app pulls the text out in your browser, sends it to Amazon Bedrock (Nova Lite), and a few seconds later you get a clean breakdown:
  • Due date
  • Deliverables
  • Estimated effort
  • A step-by-step plan
  • Hidden requirements (the stuff that's easy to miss)
I didn't want to build another "AI study assistant." I wanted one tool that solved one problem really well—understanding assignment sheets quickly. No planner. No LMS replacement. Just the thing I wish I had the night before a deadline when I finally sit down and actually read the rubric.





How You Built It

I built the frontend with Next.js because I already know it and wanted a simple upload UI without spending half the weekend on setup. The main screen is a drag-and-drop zone for PDFs. For reading the file I used  pdfjs-dist  in the browser, page by page.
I also kept PDF extraction inside the browser. That meant I didn't need to upload the original file anywhere—only the extracted text gets sent to the API. Felt cleaner, and it made the backend really simple.
The backend is one API route:  POST /api/decode . It takes the text, wraps it in a prompt that asks Nova Lite for JSON in a fixed shape, and returns that to the UI. I kept the temperature low (0.2) because I don't want the model inventing due dates that aren't in the sheet.
Sometimes the model would return Markdown instead of clean JSON, so I added a small cleanup step before parsing the response. After that it was much more reliable.
Most of the app came together pretty quickly. The part that actually slowed me down was deployment. I first tried using Amplify's preview deployment with OpenNext, but ran into Lambda concurrency limits on my account (my account only had 10 concurrent executions, and one of the functions tried to reserve concurrency). Rather than spending hours debugging infrastructure, I switched to managed Amplify Hosting with CodeCommit, which worked much better for a weekend project.
Amplify picked up the Next.js app, built it from  amplify.yml , and gave me a public URL. Then I hit another issue: the SSR side couldn't call Bedrock until I attached an IAM compute role with  bedrock:InvokeModel  for  amazon.nova-lite-v1:0 . Once that was in place, the API started working for real—no hardcoded access keys sitting in the app.
Other bumps along the way:
  • My AWS CLI session expired mid-setup, so I had to run  aws login  again.
  • OpenNext on Windows was being weird, which is another reason I moved to managed Amplify Hosting.
  • Getting Bedrock permissions right on the Amplify compute role took a couple of tries.
Nothing glamorous, just the usual "why is this not working" loop until it did.



AWS Services Used / Architecture Overview

Service
What I used it for
Amazon Bedrock (Nova Lite)
Turns messy assignment text into structured JSON
AWS Amplify Hosting
Builds and hosts the Next.js app
AWS CodeCommit
Git repo that Amplify deploys from
IAM
Lets the Amplify SSR compute role call Bedrock


How it flows:

process flow




Nothing fancy triggers it. You upload a file, and that's the whole event. No queues, no schedules. I kept it simple because I wanted to finish it in a weekend, and because Free Tier usage stays easy to understand this way.



What I Learned

One thing that surprised me was how little AI infrastructure I actually needed. A single Bedrock model with a well-written prompt was enough to build the core feature. I didn't need embeddings, agents, or a database for v1.
I also learned that the "cool" deploy path isn't always the right one for a weekend. The OpenNext preview route looked interesting, but Amplify Hosting + CodeCommit got me to a public URL faster when my account limits got in the way.
On permissions: putting Bedrock access on an Amplify compute role felt much better than dropping long-lived AWS keys into environment variables. Once that role was set up correctly, the app just worked.
And honestly, scope mattered more than cleverness. A focused decoder that works beats a half-finished mega-app—especially when the challenge is literally about finishing and submitting.
If I keep going, I'd probably add a "copy due date" button, maybe batch a few PDFs at once, and optionally save history somewhere like DynamoDB. But for this weekend, one upload → one clear plan was enough.



Link to App

#productivity #challenge #aws-free-tier #application #AmazonBedrock #AWSAmplify
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