Getting Started

Installation

How to install and set up UNuxt

Get UNuxt running locally in a few steps.

Prerequisites

  • Node.js 20+
  • pnpm 9+
  • Docker (for the database)

Clone the repository

git clone https://github.com/leighayanid/unuxt.git
cd unuxt

Install dependencies

pnpm install

Configure environment variables

Copy the example environment file and fill in your values:

cp .env.example .env

Key variables to configure:

VariableDescription
DATABASE_URLPostgreSQL connection string
BETTER_AUTH_SECRETAuth secret (min 32 characters)
GOOGLE_CLIENT_IDGoogle OAuth client ID
GOOGLE_CLIENT_SECRETGoogle OAuth client secret
GITHUB_CLIENT_IDGitHub OAuth client ID
GITHUB_CLIENT_SECRETGitHub OAuth client secret
CLOUDINARY_CLOUD_NAMECloudinary cloud name
CLOUDINARY_API_KEYCloudinary API key
CLOUDINARY_API_SECRETCloudinary API secret

Start the database

Start PostgreSQL using Docker:

docker-compose -f docker-compose.dev.yml up -d

Run database migrations

Push the schema to your database:

pnpm db:push

Start the development server

pnpm dev

Visit http://localhost:3000 to see your application.

Verify installation

You should see the UNuxt landing page. Try these to verify everything works:

  1. Navigate to /auth/register to create an account
  2. Check the login flow at /auth/login
  3. Open Drizzle Studio with pnpm db:studio

Next steps

Copyright © 2026