{"id":26790628,"url":"https://github.com/dugjason/nextjs-front-plugin-with-cookie","last_synced_at":"2026-04-28T20:03:30.637Z","repository":{"id":227146695,"uuid":"770597198","full_name":"dugjason/nextjs-front-plugin-with-cookie","owner":"dugjason","description":"Basic Next.js app used as a Front.com plugin, setting partitioned cookies via Server Actions","archived":false,"fork":false,"pushed_at":"2024-03-12T18:00:12.000Z","size":66,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-24T08:14:49.068Z","etag":null,"topics":["cookies","frontapp","nextjs"],"latest_commit_sha":null,"homepage":"https://nextjs-front-plugin-with-cookie.vercel.app","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/dugjason.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}},"created_at":"2024-03-11T20:28:14.000Z","updated_at":"2024-03-12T18:02:05.000Z","dependencies_parsed_at":"2024-03-11T21:51:10.429Z","dependency_job_id":null,"html_url":"https://github.com/dugjason/nextjs-front-plugin-with-cookie","commit_stats":null,"previous_names":["dugjason/nextjs-front-plugin-with-cookie"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dugjason%2Fnextjs-front-plugin-with-cookie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dugjason%2Fnextjs-front-plugin-with-cookie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dugjason%2Fnextjs-front-plugin-with-cookie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dugjason%2Fnextjs-front-plugin-with-cookie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dugjason","download_url":"https://codeload.github.com/dugjason/nextjs-front-plugin-with-cookie/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246196103,"owners_count":20739013,"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":["cookies","frontapp","nextjs"],"created_at":"2025-03-29T14:29:25.754Z","updated_at":"2026-04-28T20:03:30.458Z","avatar_url":"https://github.com/dugjason.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a [Next.js](https://nextjs.org/) project demonstrating how to set and unset [Cookies](https://nextjs.org/docs/app/api-reference/functions/cookies) using [Server Actions](https://nextjs.org/docs/app/building-your-application/data-fetching/server-actions-and-mutations).\n\nThis example can be applied when managing cookies in a [Front.com sidebar plugin](https://dev.frontapp.com/docs/plugin-overview).\n\n## Getting Started\n\nInstall the dependencies, 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\nNext, open Front ([app.frontapp.com](https://app.frontapp.com) or log in via your SSO provider), and head to **Settings \u003e Developers \u003e Create App**.\n\nCreate a new app with **Sidebar Plugin** feature, and add `http://localhost:3000` as the plugin URL.\n\nNow you can click back into your Front inbox, and select the plugin in your sidebar.\n\n## Demo\n\nA demo version of this application is published at `https://nextjs-front-plugin-with-cookie.vercel.app/`.\n\nYou are welcome to test this by creating a Front Sidebar Plugin app, and adding this as the Side panel URL.\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- [Front Plugin guide](https://dev.frontapp.com/docs/plugin-getting-started) - get started developing Front plugins.\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) from the creators of Next.js.\n\nCheck out the [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdugjason%2Fnextjs-front-plugin-with-cookie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdugjason%2Fnextjs-front-plugin-with-cookie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdugjason%2Fnextjs-front-plugin-with-cookie/lists"}