E-CommerceAWS ServerlessVanilla JS

Just Drinkz

An online store and admin dashboard for a Lagos drinks delivery brand, hand-written in plain JavaScript on a serverless AWS backend with Monnify payments.

Just Drinkz website, desktop view
ClientJust Drinkz NG
CategoryE-Commerce Platform
Primary stackVanilla JS · AWS Lambda · DynamoDB · Cognito

The project

Premium drinks,
delivered on demand.

Just Drinkz delivers drinks across Lagos. It needed an online store customers could trust and an admin dashboard the team could run themselves.

We hand-wrote the storefront and the admin dashboard in plain HTML, CSS and JavaScript, with no framework. One Node.js Lambda function with DynamoDB serves the whole API. Cognito handles sign-in with email or Google, and 6-digit email codes confirm new accounts. Payments run through Monnify.

The store lists 221 products. The team manages them from the admin dashboard, and an admin guide explains how.

Vanilla JavaScript AWS Lambda (Node.js) DynamoDB AWS Cognito Google sign-in Amazon SES AWS S3 CloudFront Lambda@Edge Secrets Manager Monnify

Capabilities

  • Full-Stack Development
  • AWS Architecture
  • UI / UX Design
  • Authentication Systems
  • Payment Integration
  • Edge Security

Deliverables

  • Product catalogue and cart
  • Monnify checkout
  • Cognito sign-in (email or Google)
  • Lambda@Edge session layer
  • Admin dashboard and admin guide
  • Presigned image uploads

The challenge

A secure store
with very little to run.

01

Fast on any connection

With no framework to download, pages stay light. CloudFront serves the store from the edge.

02

Verified customer accounts

Customers sign up with email or Google through Cognito, and a 6-digit code sent by email confirms the address.

03

Sessions kept out of JavaScript

A Lambda@Edge layer keeps the session in httpOnly cookies, with its signing secret in AWS Secrets Manager.

04

Protection against abuse

DynamoDB-backed rate limiting caps requests per IP address and per route.

How we built it

From brief to launch,
step by step.

01

Storefront in plain JavaScript

Hand-wrote the catalogue, product pages, cart and checkout without a framework.

02

One Lambda, one table design

Built the API as a single Node.js Lambda function backed by DynamoDB.

03

Sign-in and sessions

Set up Cognito with email and Google sign-in and 6-digit email verification codes, then put a Lambda@Edge session layer in front with httpOnly cookies.

04

Payments and email

Integrated Monnify for checkout and Amazon SES for transactional email.

05

Admin dashboard and handover

Built the admin dashboard with presigned S3 uploads for product images, loaded the 221 products, and wrote an admin guide for the team.

Key architectural decisions

Why no framework

Plain JavaScript keeps the pages small and leaves nothing to upgrade when a framework moves on.

Why one Lambda

One function is one thing to deploy, monitor and secure. DynamoDB has no server to run.

Why Cognito

Cognito runs sign-up, email verification and Google sign-in as a managed service, so no custom password store needed building.

The outcome

Shipped. Live. Run in-house.

221
Products in the live store
1
Lambda function serving the whole API
~$6–10
Estimated monthly AWS cost of the architecture

justdrinkzng.com is live. The Just Drinkz team manages products and orders from the admin dashboard, with the admin guide to hand.

Got a project like this?