😊 SmileStack: A Day-to-Day Good Moments Logger

💡 Inspiration

In our fast-paced lives, it's easy to overlook the little things that bring us joy. I wanted to create a space where anyone could pause and log small but meaningful moments—because every smile matters. Inspired by journaling and mental wellness, this project helps users reflect on positive experiences while exploring AWS serverless tools in a visually comforting way.

The use of a pink-violet color palette reflects warmth, calmness, and emotional wellness, which inspired the project's design. I also aimed to build this fully within the AWS Free Tier, making it accessible for students and developers looking to learn serverless cloud development.


🚀 What it does

  • Allows users to log day-to-day good moments via a simple, elegant web form.
  • Stores these entries in Amazon DynamoDB for persistence.
  • Automatically redirects users to view all previously submitted moments in a beautifully styled format.
  • All of this is managed without a traditional server — using AWS Lambda, API Gateway, and DynamoDB.

🔧 How we built it

🛠️ Tech Stack

  • Amazon API Gateway – Route requests to Lambda.
  • AWS Lambda – Handles GET/POST logic for the form and moment display.
  • Amazon DynamoDB – Stores the logged moments.
  • HTML + CSS – Styled form (pink-violet theme) and dynamic moment list view.

🔄 Workflow

  1. User visits the URL → GET / serves the good moments form.
  2. On form submission (POST /), data is saved to DynamoDB.
  3. Lambda redirects to /view.html → triggers another GET request.
  4. Lambda dynamically generates an HTML page listing all logged moments from DynamoDB.

⚠️ Challenges we ran into

  • 🔄 Routing structure: Mapping multiple routes (/, /view.html) in API Gateway to the same Lambda while keeping the code modular.
  • 📝 HTML in Lambda: Returning large chunks of HTML from within Lambda while keeping things readable.
  • 🔐 Permissions: Configuring IAM roles for Lambda to securely access DynamoDB.
  • 🧪 API Gateway debugging: Errors like "Missing Authentication Token" and "403 Forbidden" were common until routes and deployment were properly aligned.

🏆 Accomplishments that we're proud of

  • Built a full serverless journaling app from scratch using only AWS Free Tier services.
  • Created a meaningful and wellness-oriented tool that’s simple, aesthetic, and joyful to use.
  • Designed a modular and extensible backend that could be adapted for other form-data applications.

📚 What we learned

  • How to build and deploy multi-route Lambda functions via API Gateway.
  • The importance of frontend-backend path alignment in serverless environments.
  • Working with DynamoDB to store structured entries.
  • How to simulate dynamic HTML rendering inside Lambda.

🔮 What's next for SmileStack

  • 🧠 Add sentiment tagging (happy, grateful, calm, etc.) using AI.
  • 📅 Enable calendar view for browsing good moments by date.
  • 👥 Add support for multiple users (authentication + filters).
  • 💌 Email daily/weekly digests of past logged smiles.
  • 🧾 Export to PDF/journal for personal keepsakes.

Built With

Share this project:

Updates