AWS Builder Center
Weekend Annoying Task Challenge: QuickDraft AI

Weekend Annoying Task Challenge: QuickDraft AI

A serverless AI writing assistant on AWS — Amplify, Lambda, API Gateway & Bedrock (Nova Lite) — that drafts emails, posts & captions in seconds.

Introduction

Have you ever spent more time thinking about how to write something than actually writing it?
A professional email, a LinkedIn post, a WhatsApp message, an Instagram caption, and resume bullet points — these should take minutes, not half an hour of second-guessing tone and wording. Even experienced professionals hit this wall regularly.
That's the everyday productivity problem I set out to solve with QuickDraft AI: an AI-powered writing assistant that generates polished, ready-to-use content in seconds, built on Amazon Bedrock and a fully serverless AWS architecture.
You give it a topic, a content type, an audience, and a tone — QuickDraft AI does the rest.



The Vision

The goal behind QuickDraft AI is simple:
Reduce the time people spend writing repetitive content.
Students, developers, content creators, recruiters, and busy professionals all write the same kinds of things over and over:
  • Professional emails
  • LinkedIn posts
  • Resume bullet points
  • WhatsApp messages
  • Instagram captions
Instead of starting from a blank page every time, QuickDraft AI takes five simple inputs — Content Type, Topic, Audience, Tone, and Additional Details — and returns a polished draft the user can copy, tweak, and send. No account setup, no clutter, just a clean form and a fast result.



Architecture Overview

The entire application is serverless, end-to-end:
User
│
▼
AWS Amplify Hosting
│
▼
Amazon API Gateway
│
▼
AWS Lambda
│
▼
Amazon Bedrock
(Amazon Nova Lite)
│
▼
Generated Response
│
▼
React Frontend

Four managed AWS services, zero servers to patch or scale.



How I Built It

Frontend — React + Vite

The UI is built with React, Vite, plain CSS, and Axios for API calls. It's intentionally minimal:
  • A responsive landing page and nav bar
  • A hero section
  • An AI prompt form (type, topic, audience, tone, details)
  • A generated-content panel
  • Loading and error states
Axios handles the round trip to the backend, so the form submission and the AI response feel instant from the user's side.

Backend — AWS Lambda

Rather than stand up a traditional server, the backend is a single AWS Lambda function written in Python (chosen mainly for its strong AWS SDK support via boto3). It:
  1. Receives the user's prompt fields from API Gateway
  1. Assembles them into a structured prompt
  1. Calls Amazon Bedrock
  1. Parses the model's response
  1. Returns clean JSON to the frontend

AI Generation — Amazon Bedrock

The generation itself runs on Amazon Bedrock, using the Amazon Nova Lite model through the Converse API. Lambda formats the user's inputs into a structured prompt before sending it off, and Bedrock returns content tailored to the requested audience and tone.

API Layer — Amazon API Gateway

Amazon API Gateway exposes the Lambda function as a REST endpoint. The frontend sends a simple POST request:
{
"type": "LinkedIn Post",
"topic": "AWS Serverless",
"audience": "Developers",
"tone": "Professional",
"details": "Weekend Challenge submission"
}

API Gateway invokes Lambda, Lambda talks to Bedrock, and the generated draft comes straight back to the client.

Deployment — AWS Amplify

The production React build is hosted on AWS Amplify, which gives the app a public HTTPS URL with zero server management — push the build, and it's live.



AWS Services Used

Service
Role
AWS Amplify
Frontend hosting, HTTPS, static site deployment
Amazon API Gateway
REST API layer securely invokes Lambda
AWS Lambda
Serverless backend, prompt processing, Bedrock integration
Amazon Bedrock
AI text generation via Amazon Nova Lite (Converse API)
IAM
Scoped permissions so Lambda can securely invoke Bedrock
Amazon CloudWatch
Logging and debugging across the whole pipeline



Challenges I Ran Into

Every real project has friction points, and this one taught me a lot precisely because of them.
CORS configuration. The frontend initially couldn't talk to the API Gateway at all. Fixed by enabling CORS on the API Gateway resource and making sure Lambda returned the correct headers on every response.
API Gateway integration errors. Early on, API Gateway kept returning Internal Server Errors because Lambda's response didn't match the shape API Gateway expected. Digging through CloudWatch logs and re-reading the integration response format solved it.
Lambda debugging. CloudWatch Logs quickly became my most-used tool, surfacing JSON parsing issues, malformed request payloads, IAM permission gaps, and Bedrock invocation errors that would otherwise have been invisible.
Bedrock quotas. Late in development, I hit a  ThrottlingException  — not a bug, but the daily token quota for Amazon Nova Lite on my account. The architecture and integration were working the whole time correctly; the account simply hit its usage ceiling. A good reminder that cloud quotas are part of the design surface, not an afterthought.



What I Learned

This challenge taught me a lot more than "how to build another web app." By the end, I had hands-on experience with:
  • Designing a fully serverless architecture end-to-end
  • Deploying React apps with AWS Amplify
  • Building REST APIs with API Gateway
  • Writing Python-based Lambda functions
  • Invoking foundation models through Amazon Bedrock
  • Configuring least-privilege IAM permissions
  • Debugging distributed systems with CloudWatch
  • Handling CORS correctly the first time (eventually)
  • Managing a real production deployment workflow
Most importantly, I got a much clearer picture of how these AWS services click together into something that actually scales.



What's Next

QuickDraft AI already works as a complete end-to-end product, but there's plenty on the roadmap:
  • User authentication with Amazon Cognito
  • Prompt history and favorite drafts
  • PDF export and copy-to-clipboard
  • Multiple AI model selection
  • Multi-language support
  • Saved templates and theme customization
  • Usage analytics



Conclusion

QuickDraft AI shows how far a weekend and a handful of managed AWS services can go. By combining AWS Amplify, Amazon API Gateway, AWS Lambda, and Amazon Bedrock, I built a lightweight, scalable writing assistant that generates professional content in seconds — without requiring the provisioning or management of a single server.
Beyond the finished product, this challenge sharpened my understanding of serverless architecture, AI integration, and what it actually takes to ship something to production on AWS. Authentication, history, and more model options are next on the list.



Try It Out



Thanks for reading! If you have feedback or ideas for improving QuickDraft AI, I'd love to hear them in the comments. 🚀
#aws #amazonbedrock #serverless #react #lambda #amplify  # challenge   # productivity  # aws-free-tier  # application 
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