Fullstack Development with Nextjs and Neon Postgres Database
CC0-1.0 License
Welcome to the Neon Postgres Database and Next.js Handbook. Follow these steps to get started:
This project is based on the following tutorial: Full Stack Development with Next.js, Clerk, and Neon Postgres
Neon is a serverless Postgres platform designed to help you build reliable and scalable applications faster. We separate compute and storage to offer modern developer features such as autoscaling, branching, point-in-time restore, and more. Get started today with our generous free tier.
git clone https://github.com/tyaga001/serverless-postgres-nextjs-handbook.git
npm install
Create a .env.local file in the root directory of the project.
touch .env.local
Create a Neon project and copy your connection string into the .env.local
file.
NEON_DATABASE_URL=
Create a Clerk application project and copy your credentials into the .env.local
file.
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
Execute the command - npm run db-create
within your terminal.
npm run dev
Navigate to http://localhost:3000 to view the app.
Explore Neon Docs:
Discover Best Practices:
Stay Updated:
See Case Studies:
Enterprise Solutions:
Branching Strategies:
Join the Neon Community:
Learn more about Neon's features at Neon.tech.