{"id":13480785,"url":"https://github.com/HugoDF/netlify-lambda-tailwind-static-starter","last_synced_at":"2025-03-27T11:30:56.891Z","repository":{"id":40747262,"uuid":"188877913","full_name":"HugoDF/netlify-lambda-tailwind-static-starter","owner":"HugoDF","description":"A starter project with Netlify Lambda, Tailwind CSS and static pages.","archived":false,"fork":false,"pushed_at":"2023-01-03T22:46:49.000Z","size":3564,"stargazers_count":8,"open_issues_count":15,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T06:51:22.306Z","etag":null,"topics":["boilerplate","netlify-deployment","netlify-functions","netlify-lambda","tailwind-css","tailwindcss"],"latest_commit_sha":null,"homepage":"https://tailwind-static-starter.netlify.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HugoDF.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-27T16:37:19.000Z","updated_at":"2021-09-11T02:47:28.000Z","dependencies_parsed_at":"2023-02-01T12:02:21.674Z","dependency_job_id":null,"html_url":"https://github.com/HugoDF/netlify-lambda-tailwind-static-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HugoDF%2Fnetlify-lambda-tailwind-static-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HugoDF%2Fnetlify-lambda-tailwind-static-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HugoDF%2Fnetlify-lambda-tailwind-static-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HugoDF%2Fnetlify-lambda-tailwind-static-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HugoDF","download_url":"https://codeload.github.com/HugoDF/netlify-lambda-tailwind-static-starter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245835953,"owners_count":20680296,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["boilerplate","netlify-deployment","netlify-functions","netlify-lambda","tailwind-css","tailwindcss"],"created_at":"2024-07-31T17:00:44.981Z","updated_at":"2025-03-27T11:30:56.503Z","avatar_url":"https://github.com/HugoDF.png","language":"JavaScript","funding_links":[],"categories":["Starters \u0026 Themes"],"sub_categories":[],"readme":"# Netlify Lambda Tailwind Static Starter demo\n\n\u003e A starter project with Netlify Lambda, Tailwind CSS and static pages.\n\n\u003c!-- Markdown snippet --\u003e\n[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/HugoDF/netlify-lambda-tailwind-static-starter)\n\nThere's a lambda generating random emoji 👍 at [./src/lambda/emoji.js](./src/lambda/emoji.js)\n\nThe index page is just HTML with inline scripts.\n\nA JavaScript function 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](https://github.com/HugoDF/netlify-lambda-tailwind-static-starter/blob/fc936bd76f201c90ade459a9ab73bf19fdab6aec/public/index.html#L65).\n\nThis is a good starting point for quick Lambda demos.\n\n## Development setup\n\nYou should run `yarn` before starting.\n\nThe following scripts are available:\n\n* `yarn start`: start the Lambda(s) and serving the static directory using [Netlify Dev](https://www.netlify.com/products/dev/) . **Important:** before `start`, `yarn build:tw` runs.\n* `yarn build:tw`: build the full set of Tailwind CSS utilities (useful for development), make sure to check what your site looks will look like live using `yarn build:css`\n* `yarn build`: run netlify-lambda build + Tailwind CSS production build (removes unused classes using PurgeCSS)\n* `yarn build:css`: Tailwind CSS production build (removes unused classes using PurgeCSS)\n* `yarn lint` and `yarn format`: runs XO, the \"JavaScript linter with great defaults\" (see [github.com/xojs/xo](https://github.com/xojs/xo#readme)) with or without the `--fix` flag respectively\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHugoDF%2Fnetlify-lambda-tailwind-static-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FHugoDF%2Fnetlify-lambda-tailwind-static-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHugoDF%2Fnetlify-lambda-tailwind-static-starter/lists"}