{"id":21431663,"url":"https://github.com/tomdoestech/build-and-deploy-to-theedge","last_synced_at":"2025-09-10T00:13:53.127Z","repository":{"id":180607293,"uuid":"665410355","full_name":"TomDoesTech/build-and-deploy-to-theedge","owner":"TomDoesTech","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-12T06:37:04.000Z","size":59,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-19T19:08:22.418Z","etag":null,"topics":["neon","nextjs","react","serverless","vercel"],"latest_commit_sha":null,"homepage":"https://youtu.be/_LF-IvJsr5Y","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/TomDoesTech.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":"2023-07-12T06:31:34.000Z","updated_at":"2024-05-23T22:06:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"bd476d7c-b87a-4cbd-9f7e-b028c58e2d5e","html_url":"https://github.com/TomDoesTech/build-and-deploy-to-theedge","commit_stats":null,"previous_names":["tomdoestech/build-and-deploy-to-theedge"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TomDoesTech/build-and-deploy-to-theedge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomDoesTech%2Fbuild-and-deploy-to-theedge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomDoesTech%2Fbuild-and-deploy-to-theedge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomDoesTech%2Fbuild-and-deploy-to-theedge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomDoesTech%2Fbuild-and-deploy-to-theedge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TomDoesTech","download_url":"https://codeload.github.com/TomDoesTech/build-and-deploy-to-theedge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomDoesTech%2Fbuild-and-deploy-to-theedge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274390131,"owners_count":25276397,"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","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["neon","nextjs","react","serverless","vercel"],"created_at":"2024-11-22T23:11:30.801Z","updated_at":"2025-09-10T00:13:52.807Z","avatar_url":"https://github.com/TomDoesTech.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Build and Deploy a Full Stack application to the Edge with Neon, Next.js and Vercel\n\n## Sponsor\n\u003cimg src=\"./neon.svg\" /\u003e\n\nThank you to [Neon](https://bit.ly/NeonWithTom) for sponsoring this video!\n\n\n## Getting Started\n\nFirst, run the development server:\n\n```bash\nnpm run dev\n# or\nyarn dev\n# or\npnpm dev\n```\n\n## Introduction\nServerless functions allow us to deploy our code to the cloud without having to worry about the underlying infrastructure. In theory, this means your functions can scale infinitely and your bill will scale with your usage. This means you don't need to provision expensive infrastructure before you have any users.\n\nHaving your serverless provider deploy these functions to the edge means the functions are run close to the user, which means lower latency and faster response times.\n\nHowever, a major issue with this is that serverless functions is they need to start up each time they are run. So if we have a slow connection that's meant to live for a long time, like a database connection, we'll be spending time creating connections that will only live for a short period of time.\n\nWhat if we could connect to a database with a different protocol, like HTTP? This would mean we get the best of both worlds, we can have a long lived connection to our database, that are ready to be used by our serverless functions.\n\nThis is what the team at Neon have been working on and I'm excited to show just how easy it is to get started with Neon's serverless driver and Vercel edge functions. Neon have been kind enough to sponsor this video. However, everything they have build is open source and available on their GitHub, so if you like this technology but don't want to use Neon, that's totally fine.\n\nNeon offers serverless Postgres with a very generous free-tier. If you would like to follow along with this video, make sure you have a Neon account by following the link in the description to sign up and get started.\n\nIn this video we are going to be building a deploying a simple application where users can create a page and anonymously post comments on pages.\n\n## Technologies uses\n- [Vercel for hosting](https://vercel.com)\n- [Vercel CLI](https://vercel.com/docs/cli)\n- [Neon Serverless PostgreSQL](https://bit.ly/NeonWithTom)\n- [Neon CLI](https://www.npmjs.com/package/neonctl)\n- [Next.js](https://nextjs.org/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomdoestech%2Fbuild-and-deploy-to-theedge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomdoestech%2Fbuild-and-deploy-to-theedge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomdoestech%2Fbuild-and-deploy-to-theedge/lists"}