{"id":24801234,"url":"https://github.com/dallashuggins/mailchimp-nextjs","last_synced_at":"2026-04-27T08:31:31.573Z","repository":{"id":272633398,"uuid":"917247428","full_name":"dallashuggins/mailchimp-nextjs","owner":"dallashuggins","description":"Integration of Mailchimp with Next JS","archived":false,"fork":false,"pushed_at":"2025-01-29T15:24:15.000Z","size":123,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-02T06:07:41.536Z","etag":null,"topics":["mailchimp","mailchimp-api","next","nextjs","typescript"],"latest_commit_sha":null,"homepage":"https://engineering.deptagency.com/how-to-integrate-mailchimp-with-next-js-and-typescript","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/dallashuggins.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":"2025-01-15T16:24:05.000Z","updated_at":"2025-02-01T03:01:12.000Z","dependencies_parsed_at":"2025-01-15T19:25:01.392Z","dependency_job_id":"c9ca07d6-258a-42ee-a045-f8a93bd2f44f","html_url":"https://github.com/dallashuggins/mailchimp-nextjs","commit_stats":null,"previous_names":["dallashuggins/mailchimp-nextjs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dallashuggins/mailchimp-nextjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dallashuggins%2Fmailchimp-nextjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dallashuggins%2Fmailchimp-nextjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dallashuggins%2Fmailchimp-nextjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dallashuggins%2Fmailchimp-nextjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dallashuggins","download_url":"https://codeload.github.com/dallashuggins/mailchimp-nextjs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dallashuggins%2Fmailchimp-nextjs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32329462,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"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":["mailchimp","mailchimp-api","next","nextjs","typescript"],"created_at":"2025-01-30T04:19:48.623Z","updated_at":"2026-04-27T08:31:31.541Z","avatar_url":"https://github.com/dallashuggins.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).\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# or\nbun dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\nYou can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.\n\nThis project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.\n\n## Learn More\n\nTo learn more about Next.js, take a look at the following resources:\n\n- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.\n- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.\n\nYou can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!\n\n## Mailchimp Integration\n\nSee the full tutorial [here](https://engineering.deptagency.com/how-to-integrate-mailchimp-with-next-js-and-typescript).\n\nThe EmbeddedForm and CircularLoader components have been added to this application to consume the api/mc/subscribeUser endpoint. This endpoint creates a subscribed list member in Mailchimp.\n\nIn order to try out the form, add environment variables for your account to a .env file. You can copy the .env-example file for the specific variable names, or see the descriptions below.\n\nYou’ll also need to set up MAILCHIMP_API_KEY, MAILCHIMP_API_SERVER, and MAILCHIMP_AUDIENCE_ID in your Next config file and add the values to your .env file.\n\n### Environment Variables\n\n1. `MAILCHIMP_API_KEY`: Mailchimp API key\n\n[This resource](https://eepurl.com/dyijVH) shows how to find an API key in your Mailchimp account.\n\n2. `MAILCHIMP_API_SERVER`: Mailchimp sever\n\nTo find the server value for your account, login to Mailchimp. In the browser URL the server value is listed first. For example, if the URL was https://us19.admin.mailchimp.com/ the us19 part is the server prefix.\n\n3. `MAILCHIMP_AUDIENCE_ID`: Mailchimp audience ID\n\nTo find the Mailchimp audience ID, go to the Audience section in your account and then go to All contacts and then to Settings. In the settings there is an Audience ID field.\n\n## Deploy on Vercel\n\nThe easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template\u0026filter=next.js\u0026utm_source=create-next-app\u0026utm_campaign=create-next-app-readme) from the creators of Next.js.\n\nCheck out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdallashuggins%2Fmailchimp-nextjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdallashuggins%2Fmailchimp-nextjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdallashuggins%2Fmailchimp-nextjs/lists"}