Ecommerce Template
Next.js·React 등으로 만든 최신 전자상거래 템플릿
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
A modern, fast, and secure Point of Sale (POS) system built with Next.js, Tailwind CSS, Prisma, and PostgreSQL. Designed for retail and small businesses to manage inventory, process sales, and track expenses effortlessly.README 전문 보기 ↗A modern, fast, and secure Point of Sale (POS) system built with Next.js, Tailwind CSS, Prisma, and PostgreSQL. Designed for retail and small businesses to manage inventory, process sales, and track expenses effortlessly.
next-themes.git clone https://github.com/sirrryasir/pos.git
cd pos
bun install
Copy the template and fill it in. env.example documents every variable the
app reads, required and optional:
cp env.example .env
openssl rand -base64 32 # paste into BETTER_AUTH_SECRET
Apply the migrations and seed initial data (including the default Admin account):
bun run db:migrate
bun run db:seed
Default Admin Account:
bun dev
Open http://localhost:3000 in your browser to access the system.
The app is deployed on Vercel, with Postgres hosted separately on Railway.
Set these in Vercel → Project → Settings → Environment Variables, for the Production environment (and Preview, if you use preview deployments):
| Variable | Value |
|---|---|
DATABASE_URL | Railway's public url (DATABASE_PUBLIC_URL in the Railway Variables tab) — Vercel connects from outside Railway's private network |
BETTER_AUTH_SECRET | 32+ random bytes: openssl rand -base64 32. Better Auth refuses to start without it |
BETTER_AUTH_URL | The deployed origin, no trailing slash, e.g. https://your-domain.com |
Everything else in env.example is optional. Notably, no origin allowlist
needs maintaining: Vercel serves the app from its own origin, which both Next
and Better Auth trust automatically.
bun run build runs prisma migrate deploy before next build, so every
deploy applies pending migrations before the code that depends on them goes
live. To add one:
# edit prisma/schema.prisma, then:
npx prisma migrate dev --name describe_the_change
Commit the generated folder under prisma/migrations. Never run
prisma db push against production — it changes the schema without recording
a migration, and the next deploy will not know what happened.
Seeding is deliberately not part of the build. The seed creates
[email protected] / password123, which is fine for a local database and an open
door on a public one. After the first deploy, sign in with it once and
immediately change the password — or create your own owner account and delete
the seeded one.
Management > Users to elevate new accounts to admin status.This project is proprietary and confidential.