Netlify Lambda Tailwind Static Starter demo

There's a lambda generating random emoji 👍 at /.netlify/functions/emoji

This page is just HTML with inline scripts, there's a function that intercepts form submits and sends them using fetch instead.

There's also a helper to get field values using their name, see getFieldValue(form, fieldName) on GitHub.

This is a good starting point for quick Lambda demos, see the Development Environment Setup or the GitHub Repository github.com/HugoDF/netlify-lambda-tailwind-static-starter

Response:

          

Development environment setup

A Yarn/npm scripts-based workflow.

The following scripts are available: