{"id":15706795,"url":"https://github.com/bholmesdev/react-netlify-serverless-with-form-handlers","last_synced_at":"2025-08-20T19:27:48.361Z","repository":{"id":139410094,"uuid":"440668769","full_name":"bholmesdev/react-netlify-serverless-with-form-handlers","owner":"bholmesdev","description":"Netlify serverless demo as seen on the LogRocket blog","archived":false,"fork":false,"pushed_at":"2022-12-08T16:30:27.000Z","size":202,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-05-12T19:09:57.678Z","etag":null,"topics":["blog","react"],"latest_commit_sha":null,"homepage":"https://blog.logrocket.com/testing-vite-minimal-config-using-vitest/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bholmesdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-21T22:38:59.000Z","updated_at":"2025-03-21T00:09:50.000Z","dependencies_parsed_at":"2023-05-12T13:45:13.505Z","dependency_job_id":null,"html_url":"https://github.com/bholmesdev/react-netlify-serverless-with-form-handlers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bholmesdev%2Freact-netlify-serverless-with-form-handlers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bholmesdev%2Freact-netlify-serverless-with-form-handlers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bholmesdev%2Freact-netlify-serverless-with-form-handlers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bholmesdev%2Freact-netlify-serverless-with-form-handlers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bholmesdev","download_url":"https://codeload.github.com/bholmesdev/react-netlify-serverless-with-form-handlers/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253805860,"owners_count":21967053,"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":["blog","react"],"created_at":"2024-10-03T20:28:35.110Z","updated_at":"2025-05-12T19:10:11.821Z","avatar_url":"https://github.com/bholmesdev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eReact + Netlify serverless Form Demo 📝\u003c/h1\u003e\n\u003cp\u003e\n  \u003cimg alt=\"Version\" src=\"https://img.shields.io/badge/version-1.0.0-blue.svg?cacheSeconds=2592000\" /\u003e\n  \u003ca href=\"https://twitter.com/bholmesdev\" target=\"_blank\"\u003e\n    \u003cimg alt=\"Twitter: bholmesdev\" src=\"https://img.shields.io/twitter/follow/bholmesdev.svg?style=social\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003e A demo of reading form data with serverside validation. Made possible by React and Netlify Serverless 🔹 \n\nSource code from [Jason Lengstorf's eggheadio course](https://egghead.io/courses/create-a-typescript-powered-serverless-react-application-cf0acfbf) on Netlify serverless with TS + React.\n\n### 🧑‍💻 [Try it out!](https://form-validation-demo.netlify.app)\n\n## Install\n\n```sh\nnpm install\n```\n\n## Serve locally\n\nYou'll need a copy of Netlify's CLI to run this project locally. I'd suggest installing this as a global dependency, and starting the dev server like so:\n\n```sh\nnpm i -g netlify-cli\nntl dev\n```\n\nYou should see the project at http://localhost:8888 🚀\n\n## Run the test suites\n\nYou'll find 2 ways to run our test suites: [Jest](https://jestjs.io/) and [Vitest](https://vitest.dev/). I used this to compare each framework's up-front configuration costs, speed, and dev ergonomics. You'll find the same set of unit + integration tests written for each under:\n\n```sh\ntests/\n  jest/ ...\n  vitest/ ...\n```\n\nTo see them in action, try running some of the following:\n\n```sh\n# Run jest in \"watch\" mode\nnpm run test:jest\n\n# Run Vitest in \"watch\" mode\nnpm run test:vitest\n\n# Run jest normally\nnpx jest\n\n# Run Vitest normally\nnpx vitest run\n```\n\n## Author\n\n👤 **Ben Holmes**\n\n* Website: https://bholmes.dev\n* Twitter: [@bholmesdev](https://twitter.com/bholmesdev)\n* Github: [@holben888](https://github.com/holben888)\n\n## Show your support\n\nGive a ⭐️ if this project helped you!\n\n***\n_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbholmesdev%2Freact-netlify-serverless-with-form-handlers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbholmesdev%2Freact-netlify-serverless-with-form-handlers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbholmesdev%2Freact-netlify-serverless-with-form-handlers/lists"}