Skip to content

nphlp/NextjsDeploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

71 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

NextJS Deploy

Full-stack Next.js 16 template with complete local development setup and Dokploy VPS deployment.

  • Framework: Next.js 16 (App Router, Cache Components, React Compiler)
  • API: oRPC with Zod validation and OpenAPI documentation (Scalar)
  • Database: PostgreSQL 16 + Prisma 7
  • Auth: Better Auth
  • UI: Tailwind CSS 4 + Base-UI
  • DevOps: Docker, Dokploy, Traefik, Tailscale VPN
  • Analytics: Umami (self-hosted)

Quick Start

Prerequisites

Development

make dev

Next.js in terminal + Postgres in Docker. Installs dependencies, generates env files, sets up the database, loads fixtures and starts the server.

Build (test production locally)

make start

Full containerized environment

make basic

See Setup local for all options and details.

Documentation

Project โ€” docs/nextjs-deploy/

Good Practices โ€” docs/good-practices/

Infrastructure โ€” docs/vps-infra/

Fixtures

Test credentials:

Email Password Role
admin@example.com Password1234! ADMIN
user@example.com Password1234! USER

See Fixtures for details.

About

A Next.js project ready to be deployed ๐Ÿ“

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors