{"id":15610434,"url":"https://github.com/surjithctly/jamstack-starter","last_synced_at":"2025-07-22T19:34:41.895Z","repository":{"id":65770117,"uuid":"576575030","full_name":"surjithctly/jamstack-starter","owner":"surjithctly","description":"JAMStack Starter is a simple starter template built with Next.js 13 and Sanity CMS v3. This starter is styled with Tailwind CSS.","archived":false,"fork":false,"pushed_at":"2023-10-25T09:45:23.000Z","size":7542,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-08T02:13:58.212Z","etag":null,"topics":["free","jamstack","nextjs","sanity","sanity-io","sanitycms","starter","tailwindcss","template"],"latest_commit_sha":null,"homepage":"https://jamstack-starter-sanity.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/surjithctly.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}},"created_at":"2022-12-10T09:27:36.000Z","updated_at":"2025-05-26T23:41:25.000Z","dependencies_parsed_at":"2023-11-13T15:06:01.282Z","dependency_job_id":"c170b71d-914f-4908-be57-bd9dc79a6b00","html_url":"https://github.com/surjithctly/jamstack-starter","commit_stats":{"total_commits":33,"total_committers":1,"mean_commits":33.0,"dds":0.0,"last_synced_commit":"bb316d20294c5f4cfde0345e3c12b25c34d431f1"},"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/surjithctly/jamstack-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surjithctly%2Fjamstack-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surjithctly%2Fjamstack-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surjithctly%2Fjamstack-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surjithctly%2Fjamstack-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/surjithctly","download_url":"https://codeload.github.com/surjithctly/jamstack-starter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surjithctly%2Fjamstack-starter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265549892,"owners_count":23786472,"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":["free","jamstack","nextjs","sanity","sanity-io","sanitycms","starter","tailwindcss","template"],"created_at":"2024-10-03T06:01:35.693Z","updated_at":"2025-07-22T19:34:41.873Z","avatar_url":"https://github.com/surjithctly.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JAMStack Starter Template - Next.js \u0026 Sanity CMS\n\nJAMStack Starter is a starter template built with Next.js, Tailwind CSS \u0026 Sanity CMS by [Web3Templates](https://web3templates.com/).\n\n\u003ca href=\"https://vercel.com/new/clone?demo-title=JAMStack%20Starter\u0026demo-description=Starter%20template%20built%20with%20Next.js%2013%20and%20Sanity%20CMS%20v3%20\u0026%20%20Tailwind%20CSS.\u0026demo-url=https://jamstack-starter-sanity.vercel.app/\u0026demo-image=https://user-images.githubusercontent.com/1884712/209567303-4ed1ec44-5c37-4f33-a6c0-410187186cde.png\u0026project-name=Jamstack%20Starter\u0026repository-name=jamstack-website\u0026repository-url=https://github.com/surjithctly/jamstack-starter\u0026integration-ids=oac_hb2LITYajhRQ0i4QznmKH7gx\"\u003e\n\u003cimg width=\"259\" alt=\"Deploy to Vercel \u0026 Sanity\" src=\"https://user-images.githubusercontent.com/1884712/169833532-1007b9aa-1456-4386-9526-7b5b46b094ed.png\"\u003e\n\u003c/a\u003e\n\n## Live Demo\n\n**https://jamstack-starter-sanity.vercel.app/**\n\n# Installation\n\n## Step 1: Clone \u0026 Deploy\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?demo-title=JAMStack%20Starter\u0026demo-description=Starter%20template%20built%20with%20Next.js%2013%20and%20Sanity%20CMS%20v3%20\u0026%20%20Tailwind%20CSS.\u0026demo-url=https://jamstack-starter-sanity.vercel.app/\u0026demo-image=https://user-images.githubusercontent.com/1884712/209567303-4ed1ec44-5c37-4f33-a6c0-410187186cde.png\u0026project-name=Jamstack%20Starter\u0026repository-name=jamstack-website\u0026repository-url=https://github.com/surjithctly/jamstack-starter\u0026integration-ids=oac_hb2LITYajhRQ0i4QznmKH7gx)\n\nClick the above button to deploy for this template on vercel. It is the easist way to clone the repo, configure sanity and deploy to vercel.\n\n**The above deploy will automatically configure the following:**\n\n- Create new Repository in Github\n- Signup/Login to Sanity CMS (if not already)\n- Create a Sanity Project\n- Install Sanity Integration in Vercel\n- Add required CORS \u0026 API settings in the project\n- Add required `.env` variables\n- Deploy Sanity Studio - Content Manager\n- Deploy to Vercel\n\n## Step 2: Add Content\n\nOnce you have deployed the website, visit `https://your-published-url.com/studio` URL and add your content before visiting your website. Or you will see a blank / broken website. To import demo data as seen in the demo, follow the below steps inside.\n\n## Step 3: Set up the project locally\n\n1. Clone the github repo you have created in step 1\n2. Run the following command to link vercel \u0026 pull the `.env` variables\n\n```bash\nnpx vercel link\n```\n\nThen run the following command\n\n```bash\nnpx vercel env pull\n```\n\n3. Open the Project in VSCode and open the terminal\n4. Run the following commands from terminal\n\n```bash\nnpm install\n# or\npnpm install\n```\n\n## Step 3: Import Demo Data\n\nTo look like what you have seen in the demo, with all the content and images, follow the below steps:\n\nRun the following commands from terminal\n\n```bash\nnpm run import\n# or\npnpm import\n```\n\n## Step 4: Finish it up!\n\nNow, refresh your published URL again and you will be able to see your website. To continue develop locally, run the following command\n\n```bash\nnpm run dev\n# or\npnpm dev\n```\n\nNow your project should be up and the Next.js frontend will be running on http://localhost:3000. Sanity Studio can be accessed using http://localhost:3000/studio.\n\n# Local Development\n\nIf you cannot use the One-Click Deploy option, or if you want to set it up from scratch or to host it on other provider, follow these steps.\n\n## Step 1: Clone this repo\n\nClick on the [**Use this Template**](https://github.com/surjithctly/jamstack-starter/generate) button above to create a new repository from this template. Alternatively, you can run the below command to clone this repo to your local system.\n\n```bash\ngit clone https://github.com/surjithctly/jamstack-starter.git yourProjectName\n# or\ngit clone https://github.com/surjithctly/jamstack-starter.git .\n```\n\n## Step 2: Install Packages\n\nOnce you have cloned the repo to your localhost, install the dependencies using the following command.\n\n```bash\nnpm install\n# or\npnpm install\n```\n\n## Step 3: Configure Sanity\n\nIf you already have a sanity project, you can skip this part, just add the `projectId` and `dataset` as mentioned below. If you want to create a new Sanity Project, follow the steps.\n\nRun the following command in the terminal.\n\n```bash\nnpm create sanity@latest\n# or\npnpm create sanity@latest\n```\n\nIt will ask you to Login/Signup with Sanity, Create a Project or Choose an existing one.\n\n\u003e **Warning**\n\u003e\n\u003e **DO NOT INSTALL THE DEPENDENCIES OR ADD PROJECT FILES.**\n\u003e Exit the command after the project is created.\n\nOnce you have the project head over to https://sanity.io/manage to copy the Project ID and Dataset name.\n\nChange `.env.local.example` placed in the root folder and rename it to `.env.local`. Then add your project ID, Dataset and Revalidate Secret in that file.\n\n```bash\nNEXT_PUBLIC_SANITY_PROJECT_ID=\nSANITY_STUDIO_PROJECT_ID=\nNEXT_PUBLIC_SANITY_DATASET=production\nSANITY_REVALIDATE_SECRET=\n```\n\n### Develop Locally\n\nOnce everything is setup, You can start develop locally by running the following command\n\n```bash\nnpm run dev\n# or\npnpm dev\n```\n\nNow your project should be up and the Next.js frontend will be running on http://localhost:3000.\nSanity Studio can be accessed using http://localhost:3000/studio.\n\n# Help \u0026 Support\n\nIf you have trouble setting up this starter template, join on our [Discord Community](https://web3templates.com/discord) to ask for help.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsurjithctly%2Fjamstack-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsurjithctly%2Fjamstack-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsurjithctly%2Fjamstack-starter/lists"}