AWS Builder Center
Weekend Productivity Challenge: BodyOps

Weekend Productivity Challenge: BodyOps

Our approach to productivity often involves fitting more into our busy schedules, but long-term productivity comes from protecting our health. BodyOps is an AI-powered app that understands your tasks and prompts you to get up. By leveraging Amazon Nova Lite for lightning-fast AI responses and AWS Amplify for seamless auto-scalability, it delivers a highly responsive, serverless experience. If you work long hours on your laptop, this is for you.

Learn, Build projects, post🙃

Vision & What the App Does

This past week, my productivity plummeted because of health issues. My poor posture and sedentary habit finally caught up with me, and after consulting a doctor and radiologist, I had to take sick leave from work to rest my back. As a cybersecurity student building a career in DevSecOps who spends countless hours in front of my laptop, this was a massive wake-up call. The AWS Builder Center July Weekend challenge was the perfect opportunity for me to solve what I’ll term as the biggest bottleneck to our long-term productivity: our health.
For my entry into the challenge, I built BodyOps. BodyOps addresses productivity by improving our lifestyle, prompting people to stand up and move without being too distracting. It is an AI-powered tool that takes in your daily itinerary as text and uses generative AI to determine the optimal amount of time you should be seated for a given task.
Unlike standard Pomodoro timers where you have to manually configure every single task interval, BodyOps automates the process. If you have tasks that take longer than your preferred focus time, the AI intelligently splits them into multiple blocks so you can stand in between. Because it is built directly into your web browser and uses native sound alarms, you don't have to open any extra apps and risk getting distracted. Amazon Nova Lite, a fast and lightweight model, handles all of the cognitive load scheduling in the background.

User Flow

  1. Access the App: Visit the live deployment at  https://main.d2vssdk5jwive5.amplifyapp.com/ .

  1. Input Tasks: Enter your preferred focus limit (in minutes) and drop your task list into the text area.
  1. Optimize: Click on "Optimize My Day". You can test the AI's precision by entering extremely short tasks, like asking it to schedule reading an SMS for exactly 30 seconds, followed by another task for half a minute.

4. Focus & Recover: The app generates a dynamic timeline. Once a focus block ends, a Web Audio API alarm sounds. You can easily mark the task as complete or skip straight to the walk/stretch break if you are already done.
  1. Reward: Once you are done with all your tasks, the app rewards you with a confetti animation—because who doesn't like confetti?


How I Built It

I started by mapping out the architecture, determining exactly how the AWS services would interact with the frontend.
Next, I built the backend logic using an AWS Lambda function. I configured an IAM execution role to grant the function permissions to invoke Amazon Bedrock securely. I tested and deployed this function multiple times to ensure it correctly parsed the user input and sanitized the strict JSON arrays returned by the AI.
Once the serverless backend was stable, I integrated Amazon API Gateway to provide a secure, public HTTP endpoint that triggers the Lambda function while handling CORS preflight checks.
Finally, I built the user-facing vanilla JavaScript application to handle state management and trigger the backend. I pushed my code to a private GitHub repository and deployed it directly to AWS Amplify, establishing a seamless CI/CD pipeline.

AWS Services Used


  • AWS Amplify: Hosts the static HTML/JS frontend, manages user input parsing, and triggers the client-side Web Audio API alarms.
  • Amazon API Gateway: Provides the secure HTTP API endpoint, handles CORS resolution, and routes incoming POST requests.
  • AWS Lambda: The serverless compute layer that ingests task data, constructs dynamic system prompts based on user preferences, and orchestrates the AI model invocation.
  • Amazon Bedrock (Nova Lite): Executes the core AI logic, analyzing cognitive load and returning an optimized, strictly formatted JSON schedule of focus blocks and physical recovery breaks.
  • AWS IAM: Secures the architecture by providing the necessary execution roles for Lambda to communicate with Bedrock.

What I Learned

This was my first time deploying with AWS Amplify. I am used to manually configuring complex environments—like setting up VPCs, security groups, and observability tools for Amazon EKS clusters—so I quickly figured out that Amplify handles a massive amount of the infrastructure heavy lifting automatically. Connecting it to my GitHub repository for automatic deployments was a game-changer.
I also learned how Amazon Bedrock works. This was my first time working directly with the service, and building a highly interactive application on top of Nova Lite made the concepts of prompt engineering and LLM orchestration finally click and make a lot of sense.

Link to App

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