Skip to content

akoodi/nextjs-tailwind-postgresql-docker

Repository files navigation

This is a Next.js (TypeScript) boilerplate with Tailwind and PostgreSQL + pgAdmin running on Docker

Also includes Prisma ORM, Jotai, Sass and some example components.

 

Getting Started

First, run the development server:

# create a local .env file with the following properties:
#
# POSTGRES_USER=__username__
# POSTGRES_PASSWORD=__pass__
#
# DATABASE_URL="postgresql://__username__:__pass__@local_pgdb:5432/quotes?schema=public"
#
# PGADMIN_DEFAULT_EMAIL=username@domain.com
# PGADMIN_DEFAULT_PASSWORD=__pass__

npm install

# then
npm run dev
# ... for local development

# or
npm run docker

Then, open http://localhost:3000 with your browser to see the result.

About

Nextjs + Tailwind + PostgreSQL + Docker boilerplate

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published