{"repo":"couchbase-examples/nextjs-quickstart","free":true,"listed":false,"github":"https://github.com/couchbase-examples/nextjs-quickstart","clone":"git clone https://github.com/couchbase-examples/nextjs-quickstart.git","description":"Quick-start guide demonstrating how to build a basic front-end and backend CRUD app with Next.js and Couchbase","language":"JavaScript","stars":10,"topics":["nextjs","nodejs","couchbase","couchbase-server","capella","couchbase-capella"],"license":null,"category":"databases-storage","readme_excerpt":"Couchbase Capella Starter with Next.js Deployment Instructions The deployment instructions are specifically for Vercel. If you are deploying on other platforms, you need to adapt the instructions for running the project locally. Prerequisites To deploy this project on Vercel, you will need: - Vercel Account - Access to a Couchbase Capella database running the Query Service. Alternatively, you have the option to sign up for a free Capella database in the integration flow. - If you are connecting to an existing Capella account, create a bucket called user profile , and a collection called profile (within the default scope). - Note: the build step will attempt to create the collection and load the sample data within your CB BUCKET on deployment. Steps - Click Deploy - Follow the steps when prompted. The integration step will open the Couchbase Capella UI and allow you to select resources to connect. - Explore the newly deployed application: create, update, and delete some user profiles. A few sample profiles will be added automatically, and you can load the sample data manually by following these instructions. Common Pitfalls and FAQs - Infinite Loading State OR Query failed: bucket not found OR Query failed: parsing error - No data received from the database. Be sure you are using the right bucket in your CB BUCKET environment variable, a default scope, and a collection named profile . - 504 Gateway Timeout after deploying - This error usually occurs when the application cannot","default_branch":null,"files":null,"tree":[],"storefront":"/r/couchbase-examples","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/couchbase-examples/nextjs-quickstart/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."}