//commerce-nuxt-scbywattanx

commerce-nuxt-sc

0
0
0
Vue

Demo Store

A simple e-commerce demo app built with Nuxt 4 and Nuxt UI.

Features

  • Product listing and detail pages
  • GitHub OAuth login
  • Recommended products (visible only when logged in)

Setup

Install dependencies:

pnpm install

Copy .env.example to .env and set your GitHub OAuth credentials:

cp .env.example .env
Variable Description
NUXT_SESSION_PASSWORD Session encryption key (32+ characters)
NUXT_OAUTH_GITHUB_CLIENT_ID GitHub OAuth App Client ID
NUXT_OAUTH_GITHUB_CLIENT_SECRET GitHub OAuth App Client Secret

Set the callback URL of your GitHub OAuth App to http://localhost:3000/auth/github.

Development

pnpm dev

Production

pnpm build
pnpm preview
[beta]v0.14.0