Ecommerce Template
Next.js·React 등으로 만든 최신 전자상거래 템플릿
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
Pakistan-focused P2P crypto exchange + Global Gas Fee Supply System.
1. Create a new Railway project at railway.app
2. Add services: PostgreSQL and Redis (Railway provides both)
3. Connect your GitHub repo → select the backend/ root directory
4. Railway auto-detects railway.toml and uses it
5. Add all env vars from backend/.env.example in Railway dashboard
6. DATABASE_URL and REDIS_URL are auto-injected by Railway — do not set them manually
7. First deploy runs prisma migrate deploy automatically (see railway.toml)README 전문 보기 ↗Pakistan-focused P2P crypto exchange + Global Gas Fee Supply System.
pakswap/
├── frontend/ → Next.js 14 (Vercel)
├── backend/ → Fastify + Prisma (Railway)
├── docs/ → Full specification documents
│ ├── FULL_SPEC.md
│ ├── GAS_FEE_SPEC.md
│ ├── DB_TRANSACTION_RULES.md
│ └── FRONTEND_STANDARDS.md
├── .gitignore
├── package.json → npm workspaces root
└── README.md
git clone https://github.com/YOUR_USERNAME/pakswap.git
cd pakswap
npm install
cp backend/.env.example backend/.env
# Edit backend/.env with your local DB, Redis, and secret values
cp frontend/.env.local.example frontend/.env.local
# Edit frontend/.env.local — set NEXT_PUBLIC_API_URL
cd backend
npx prisma migrate dev --name init
npx prisma generate
cd ..
# Both services in one terminal:
npm run dev
# Or separately:
npm run dev:backend # http://localhost:3001
npm run dev:frontend # http://localhost:3000
# Backend health check:
curl http://localhost:3001/health
# Frontend: open http://localhost:3000 — shows API connection status
backend/ root directoryrailway.toml and uses itbackend/.env.example in Railway dashboardDATABASE_URL and REDIS_URL are auto-injected by Railway — do not set them manuallyprisma migrate deploy automatically (see railway.toml)# Check backend is live:
curl https://YOUR_BACKEND.up.railway.app/health
frontendNEXT_PUBLIC_API_URL=https://YOUR_BACKEND.up.railway.app
# Verify frontend is live and connected to backend:
# Open https://YOUR_PROJECT.vercel.app — the status page shows API health
| Variable | Where to get it | Required |
|---|---|---|
DATABASE_URL | Auto-injected by Railway PostgreSQL | Yes |
REDIS_URL | Auto-injected by Railway Redis | Yes |
JWT_SECRET | Generate: openssl rand -hex 32 | Yes |
JWT_REFRESH_SECRET | Generate: openssl rand -hex 32 | Yes |
CSRF_SECRET | Generate: openssl rand -hex 32 | Yes |
CNIC_HASH_SECRET | Generate: openssl rand -hex 32 | Server won't start without this |
AWS_ACCESS_KEY_ID | AWS IAM console | Yes |
AWS_SECRET_ACCESS_KEY | AWS IAM console | Yes |
AWS_S3_BUCKET | Create an S3 bucket | Yes |
AWS_REGION | e.g. ap-south-1 | Yes |
ADMIN_ALERT_EMAIL | Your ops email | Yes |
See backend/.env.example for full list | — | — |
| Variable | Value | Required |
|---|---|---|
NEXT_PUBLIC_API_URL | Your Railway backend URL | Yes |
See frontend/.env.local.example for full list | — | — |
All product and technical specifications are in /docs:
After first deploy:
-- After running prisma migrate, promote your account to super_admin:
UPDATE "User" SET role = 'super_admin' WHERE email = '[email protected]';
Or via Prisma Studio: cd backend && npx prisma studio
This platform must be operated by a registered business entity (SMC-Pvt Ltd or Pvt Ltd) in Pakistan.
Do not accept live funds without completing the legal checklist in docs/FULL_SPEC.md Section 26.