{"repo":"cosmicjs/simple-nextjs-blog","free":true,"listed":false,"github":"https://github.com/cosmicjs/simple-nextjs-blog","clone":"git clone https://github.com/cosmicjs/simple-nextjs-blog.git","description":"A simple blog powered by Next.js and the Cosmic headless CMS","language":"TypeScript","stars":68,"topics":["api","cms","cosmicjs","headless-cms","nextjs"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"Simple Next.js Blog View Demo React + Next.js + Cosmic This blog uses Next.js to create a React blog. It uses Next.js 16 and the new Partial Prerendering to optimize performance and user experience. It connects to the Cosmic API via the Cosmic JavaScript SDK. Opimized for speed and performance Getting Started 1. Log in to Cosmic and install the Simple Next.js Blog template. 2. Run the following commands to install the code locally. Environment Variables 1. Create an .env.local file to gain API access to your Cosmic Bucket. To do this, run: 2. Find your API access keys at Bucket Settings &gt; API Access after logging into your Cosmic dashboard and add them to the .env.local file. It should look something like this: Run in development Install all dependencies and run in development mode. Open http://localhost:3000. Deploy to Vercel Use the following button to deploy to Vercel . You will need to add API accesss keys as environment variables. Find these in Bucket Settings &gt; API Access .","default_branch":null,"files":null,"tree":[],"storefront":"/r/cosmicjs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cosmicjs/simple-nextjs-blog/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}