Skip to content

Learn Next.js Starter Code (offline with Drizzle ORM + node_postgres + Docker Compose)

Notifications You must be signed in to change notification settings

benqus/nextjs-learn-drizzle-pg

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Prerequisites

  1. Install Docker Desktop (with Compose)
  2. Create an .env file in the project root:
# ./.env

PGHOST=localhost
PGUSER=postgres
PGPASSWORD=postgres
PGDATABASE=next-dashboard
PGPORT=5432

AUTH_SECRET=6i6NNwUan9Ms4xhjJxtwjUwcxZdC8DmkV2VdtWAo0pE=

Login credentials

User Password
[email protected] 123456

Run (Docker Compose)

$ docker-compose up -d --build

then

Go to localhost:3000

Run (dev)

$ npm run dev

Next.js App Router Course - Starter

This is the starter template for the Next.js App Router Course. It contains the starting code for the dashboard application.

For more information, see the course curriculum on the Next.js Website.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

About

Learn Next.js Starter Code (offline with Drizzle ORM + node_postgres + Docker Compose)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published