README

FIFA Neon App

A small browser-based neon soccer game with a serverless AWS leaderboard backend. Canvas-driven gameplay on the frontend, a Lambda + DynamoDB leaderboard and telemetry service on the backend.

JavaScript Canvas API Node.js AWS Lambda DynamoDB API Gateway Cognito AWS SAM S3 / CloudFront

Project Structure

How the App Works

Frontend

Backend

Cloud Deployment

Prerequisites: AWS CLI configured, AWS SAM CLI installed, Node.js installed for backend dependencies.

Run locally

python -m http.server 5500

Then open http://localhost:5500 in the browser - best served rather than opened directly as a file.

Deploy backend

cd backend
npm install
sam build
sam deploy --guided

Note the generated ApiUrl output and set it as API_BASE in app.js. Use the AssetBaseUrl output to host sound packs from CloudFront, and the Cognito outputs to configure window.APP_COGNITO for Hosted UI login.

Environment variables

Notes & Best Practices

Optional Improvements

Open App Story Visual Diagram Back to Portfolio