{"id":20458749,"url":"https://github.com/resend/resend-nextjs-pages-router-example","last_synced_at":"2025-04-13T05:45:58.711Z","repository":{"id":172078223,"uuid":"648819492","full_name":"resend/resend-nextjs-pages-router-example","owner":"resend","description":"This example shows how to use Resend with Next.js (Pages Router)","archived":false,"fork":false,"pushed_at":"2024-03-01T16:54:26.000Z","size":36,"stargazers_count":20,"open_issues_count":1,"forks_count":9,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T05:45:54.011Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://resend.com/docs/send-with-nextjs","language":"TypeScript","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/resend.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-06-02T22:40:40.000Z","updated_at":"2025-04-03T17:58:35.000Z","dependencies_parsed_at":"2023-07-03T18:45:30.299Z","dependency_job_id":"22fe22e6-3059-4615-9a4b-9ed9028ef75c","html_url":"https://github.com/resend/resend-nextjs-pages-router-example","commit_stats":null,"previous_names":["resendlabs/resend-nextjs-pages-router-example","resend/resend-nextjs-pages-router-example"],"tags_count":0,"template":false,"template_full_name":"resend/resend-template-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resend%2Fresend-nextjs-pages-router-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resend%2Fresend-nextjs-pages-router-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resend%2Fresend-nextjs-pages-router-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resend%2Fresend-nextjs-pages-router-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/resend","download_url":"https://codeload.github.com/resend/resend-nextjs-pages-router-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248670515,"owners_count":21142901,"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":[],"created_at":"2024-11-15T12:13:43.097Z","updated_at":"2025-04-13T05:45:58.691Z","avatar_url":"https://github.com/resend.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Resend with Next.js (Pages Router)\n\nThis example shows how to use Resend with [Next.js](https://nextjs.org).\n\n## Deploy your own\n\nDeploy the example using [Vercel](https://vercel.com):\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/resend/resend-nextjs-pages-router-example\u0026project-name=resend-nextjs-pages-router-example\u0026repository-name=resend-nextjs-pages-router-example\u0026env=RESEND_API_KEY)\n\n## Instructions\n\n1. Define environment variables in `.env` file.\n\n```sh\ncp .env.example .env\n```\n\n2. Install dependencies:\n\n  ```sh\nnpm install\n# or\nyarn\n  ```\n\n3. Run Next.js locally:\n\n  ```sh\nnpm run dev\n  ```\n\n4. Open URL in the browser:\n\n  ```\nhttp://localhost:3000/api/send\n  ```\n\n## License\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fresend%2Fresend-nextjs-pages-router-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fresend%2Fresend-nextjs-pages-router-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fresend%2Fresend-nextjs-pages-router-example/lists"}