Skip to content

Latest commit

 

History

History
56 lines (34 loc) · 1.03 KB

File metadata and controls

56 lines (34 loc) · 1.03 KB

Next.js Starter Template 🚀

This template provides a streamlined setup for a Next.js project with database integration using Drizzle ORM. Setup Instructions

1. Install Dependencies

Run the following command to install all necessary dependencies:

npm install

2. Push Database Changes

Push your database schema using Drizzle Kit:

npx drizzle-kit push

3. Launch Drizzle Studio

Visualize and manage your database with Drizzle Studio:

npx drizzle-kit studio

Environment Variables

Ensure you create a .env.local file in the project root with the following structure:

DATABASE_URL=<your-database-url>

Replace <your-database-url> with the connection string for your database.


Ready to Go!

Once the setup is complete, start the development server:

npm run dev

This template is ready for you to build and scale your Next.js application with ease.


Would you like additional sections for features, contributing guidelines, or troubleshooting?