Above Under is a Vite SPA deployed on Netlify with Netlify Functions for a couple of backend endpoints.
npm install
npm run dev-srcIf you want the TypeScript watchers and lambda tests running too:
npm run devnpm run buildThat runs:
- the SPA build into
build/ - the tools TypeScript build into
dist/ - the lambda TypeScript build into
functions/
This repo is configured to deploy on Netlify from GitHub.
- Production URL:
https://aboveunder.com.au - Production branch:
master - Build command:
npm run deploy - Publish directory:
build - Functions directory:
functions
The checked-in netlify.toml is the source of truth for the build settings so they do not drift in the Netlify UI.
VITE_GOOGLE_MAPS_API_KEY
The app now degrades gracefully if the Maps key is missing. The site still renders, but the map shows a fallback message instead of crashing the whole page.
THe code for the website aboveunder.com created using react, hosted on the awesome Netlify