GOALS Book — Dev Assets

Dev Handoff & Downloads

All static HTML pages, assets, and documentation for the GOALS book website. Download individual pages or the complete package for deployment.

8 HTML Pages 1 CSS File Admin Dashboard
Dev Team — Read First
This package contains the complete static frontend for GOALS: The Definition of Determination by Sharif Dyson. The admin dashboard uses the Table API for prototype data persistence (orders, customers, subscribers, contacts). For production, the dev team needs to migrate to PostgreSQL (AWS RDS), build Next.js API routes, integrate Square payments, set up AWS SES for emails, and add NextAuth for secure admin login. See the full Dev Handoff Guide →

Download Complete Package

All HTML pages, CSS, and documentation in one click

Full Dev Guide
Public Pages

Home Page

Main landing page. Cinematic hero, marquee strip, stats, philosophy section, pull-quote, audience cards, author teaser, CTA, email signup, and footer.

HTML CSS JS
index.html · ~29 KB
Preview Page

The Book

Book detail page. Split-layout hero with floating cover and pricing card, numbered table of contents, 6-cell principles grid, testimonials, and CTA banners.

HTML CSS
book.html · ~31 KB
Preview Page

Author Page

Full-height hero with 7rem name display, green-corner photo frame, chip badges, biography sections, credentials grid, and speaking inquiry CTA.

HTML CSS
author.html · ~26 KB
Preview Page

Contact Page

Clickable inquiry tabs, contact chips, full contact form with validation, accordion-style FAQ with green dot indicators, and live blinking response indicator.

HTML CSS JS
contact.html · ~24 KB
Preview Page

Order / Checkout Page

Full checkout page with format selection cards, pricing display, Square payment integration placeholder, order form, and confirmation flow.

HTML CSS JS
order.html · ~67 KB
Preview Page

Main Stylesheet

Complete CSS for all public pages. Includes CSS variables, typography, navigation, hero sections, marquee, cards, forms, footer, and full mobile responsive breakpoints.

CSS
css/style.css · ~43 KB
Admin & Dev Pages

Admin Dashboard

Full command center with Supabase PostgreSQL. Sales tracking, customer management, subscriber lists, ecosystem links, broadcast module, CSV exports, and live charts.

HTML JS Supabase
admin.html · ~113 KB
Open Dashboard

AWS Deployment Guide

Complete step-by-step guide for deploying to AWS S3 + CloudFront, Route 53 DNS setup, ACM SSL certificates, and full architecture diagram.

HTML Guide
aws-deployment-guide.html · ~86 KB
View Guide

Dev Team Handoff

Full backend architecture spec. Next.js setup, PostgreSQL schema, Square integration, NextAuth config, AWS SES email setup, and week-by-week dev sprint plan.

HTML Guide
devhandoff.html · Dev Guide
View Guide

AWS Guide (Print Version)

Print-optimized version of the AWS deployment guide. Clean layout, no navigation bars. Designed for printing or saving as PDF for offline reference.

HTML Print
aws-deployment-guide-print.html · ~72 KB
View Print Version

Deployment Checklist

Step-by-step interactive launch guide. Domain strategy, Genspark publish, S3 + CloudFront setup, Route 53 DNS, SES email verification, Lambda deploy, and full go-live checklist with progress tracking.

HTML Launch Guide
deployment-checklist.html · ~63 KB
Open Checklist

This Downloads Page

This dev handoff and download center page. Include this in your deployment so stakeholders can easily access all project files and documentation.

HTML JS
download.html · This Page

Lambda: Process Payment

Square payment processor with auto order creation, SES confirmation trigger, and PostgreSQL logging. Wired to API Gateway POST /process-payment.

Node.js 20 AWS Lambda
lambda/process-payment.js · ~10 KB

Lambda: Contact Form

Handles contact form submissions — validates input, saves to PostgreSQL contacts table, sends SES notification to admin, and auto-reply to visitor.

Node.js 20 AWS Lambda
lambda/contact-form.js · ~14 KB

Lambda: Order Confirmation

Sends branded GOALS order confirmation emails via SES. HTML + plain-text, order details, ecosystem links, and DB audit logging. Invoked by process-payment.

Node.js 20 AWS SES
lambda/order-confirmation.js · ~13 KB

Lambda: Broadcast Email

Bulk email broadcaster to segmented customer lists (GOALS, Book 2, Ecosystem, Ooki). Chunks at 50/batch for SES rate limits. Admin API key protected.

Node.js 20 AWS SES
lambda/broadcast-email.js · ~9 KB

Lambda: Send Digital Copy

Triggered from the Admin Panel — sends a branded GOALS email with PDF + ePub download buttons to a digital order customer. Files served from S3. No file upload needed per send.

Node.js 20 AWS SES Admin Panel
lambda/send-digital.js · ~10 KB

Lambda: package.json

npm manifest for all 4 Lambda functions. Lists @aws-sdk/client-ses, pg, uuid dependencies. Includes build scripts to zip each function for deployment.

npm Config
lambda/package.json · ~3 KB

Lambda: deploy.sh

Bash script to zip and deploy all 4 Lambda functions to AWS. Handles npm install, zip packaging, function update, and env var sync from .env.production.

Bash AWS CLI
lambda/deploy.sh · ~5 KB

CloudFormation Stack

Complete AWS infrastructure as code. Provisions S3, CloudFront, Route53, API Gateway, 4 Lambda functions, RDS PostgreSQL, SES, Secrets Manager, IAM roles, and CloudWatch logging in one deploy.

YAML CloudFormation
infrastructure/cloudformation.yaml · ~26 KB

API Gateway NEW

CloudFormation template — creates HTTP API Gateway + all 4 Lambda functions wired to Supabase. Deploy this first, then run lambda/deploy.sh. Copy the ApiUrl from Outputs into order.html and contact.html.

YAML AWS
infrastructure/api-gateway.yaml · ~12 KB

Master Deploy Script

One-command full AWS deployment. Packages Lambda ZIPs, uploads to S3, runs CloudFormation, patches API endpoints in HTML, syncs static files to S3, and invalidates CloudFront — all automated.

Bash AWS CLI
infrastructure/deploy-all.sh · ~13 KB

PostgreSQL Schema

Production RDS schema — 6 tables (orders, customers, subscribers, contacts, email_log, broadcast_log), enums, indexes, triggers, views, and seed sequences. Run once after CloudFormation deploy.

SQL PostgreSQL 15
infrastructure/rds-schema.sql · ~13 KB

Environment Variables Template

Complete .env template for all Lambda functions and deploy scripts. ✅ Updated v2.0 — covers Supabase URL + service key, Square tokens, SES config, admin API key. RDS variables removed.

ENV Config
infrastructure/env.example · ~3 KB
Complete File Manifest
Public Pages
index.html
Home — Main landing page
~29 KB
book.html
The Book — Detail & pricing
~31 KB
author.html
Author — Sharif Dyson bio
~26 KB
contact.html
Contact — Form & FAQ
~24 KB
order.html
Order — Checkout & payment
~67 KB
css/style.css
Global stylesheet for all pages
~43 KB
Admin & Dev Pages
admin.html
Admin dashboard · Table API
~106 KB
download.html
This page — Dev handoff center
This file
devhandoff.html
Full dev guide — backend specs
~68 KB
aws-deployment-guide.html
AWS S3/CloudFront deploy guide
~86 KB
aws-deployment-guide-print.html
Print version of AWS guide
~72 KB
Lambda Functions (lambda/)
process-payment.js
Square payment + Supabase save ✅ v2.0
~13 KB
contact-form.js
Contact form handler + SES
~14 KB
order-confirmation.js
Branded order confirmation email
~13 KB
broadcast-email.js
Bulk list broadcast w/ segmentation
~9 KB
package.json
npm dependencies manifest
~3 KB
deploy.sh
Lambda zip & deploy automation
~5 KB
Infrastructure (infrastructure/)
cloudformation.yaml
Full AWS stack — IaC
~26 KB
deploy-all.sh
Master one-command deploy script
~13 KB
rds-schema.sql
PostgreSQL 15 production schema
~13 KB
env.example
Environment variables template
~3 KB
Images (images/ folder)
goals-logo.png
GOALS logo · Nav, footer, favicon, emails
✓ Ready
goals-book-cover.png
Book cover · order.html, book.html
✓ Ready
goals-book-cover.jpg
JPG version · faster load
✓ Ready
sharif-dyson-headshot.jpg
Author photo · author.html
✓ Ready
og-home.jpg
Social share card · index + contact
⚠ Create 1200×630
og-book.jpg
Social share card · book.html
⚠ Create 1200×630
og-author.jpg
Social share card · author.html
⚠ Create 1200×630
og-order.jpg
Social share card · order.html
⚠ Create 1200×630
image-upload-guide.html
Full upload guide with AWS CLI commands
Open Guide →
Table API — Data Schemas
goals_orders
Sales orders with format & amount
Live
goals_customers
Customer records with list segmentation
Live
goals_subscribers
Email list subscribers
Live
goals_contacts
Contact form submissions
Live
Quick Reference — Credentials & Config
Admin Login
URL
sharifdyson.com/admin.html
Password
Goals2026!SD
Password Updated
ADMIN_PASSWORD changed in admin.html ✅
Done
Book Pricing (order.html)
Hardcover
$34.99
Paperback
$19.99
Digital / eBook
$14.99
Payment
Square SDK (dev team)
Done!