Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed .DS_Store
Binary file not shown.
31 changes: 31 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
PORT=8000

# NOTE: Never commit secrets in production. Use env management.
DATABASE_URL="psql-db-url"
NODE_ENV=development

# GOOGLE OAUTH
GOOGLE_CLIENT_ID=your-client-id.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=your-client-secret
GOOGLE_CALLBACK_URL=http://localhost:8000/api/auth/google/callback

# PhonePe Payment (Standard Checkout)
# If you have ClientID/Secret, map them here:
# Client ID -> PHONEPE_MERCHANT_ID
# Client Secret -> PHONEPE_SALT_KEY
PHONEPE_MERCHANT_ID="PGTESTPAYUAT86"
PHONEPE_SALT_KEY="96434309-7796-489d-8924-ab56988a6076"
PHONEPE_SALT_INDEX=1
PHONEPE_BASE_URL="https://api-preprod.phonepe.com/apis/pg-sandbox"

# NODEMAILER
# Email (Gmail)
# Use an "App Password" if using Gmail with 2FA
EMAIL_HOST_USER="your_email@gmail.com"
EMAIL_HOST_PASSWORD="your_app_password"

JWT_SECRET_KEY="super_secret_jwt_key"

# Frontend
FRONTEND_URL="http://localhost:3000"
BACKEND_URL="http://localhost:8000"
67 changes: 49 additions & 18 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,21 +1,52 @@
#virtual environment
venv
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

#environment variables
# dependencies
/node_modules
/.pnp
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/versions

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
/.idea
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# env files (can opt-in for committing if needed)
.env

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
/frontend/.next
/.vscode

# Keep environment variables out of version control
.env

#media, logs and static folder
backend/static
static
media
logs
backend/static
backend/media
backend/logs

migrations

#vs code files
*.vscode
__pycache__
*.pyc
# prisma
/db/prisma/migrations
/migrations
.DS_Store
1 change: 0 additions & 1 deletion .python-version

This file was deleted.

3 changes: 0 additions & 3 deletions backend/.dockerignore

This file was deleted.

1 change: 0 additions & 1 deletion backend/.python-version

This file was deleted.

25 changes: 0 additions & 25 deletions backend/Dockerfile

This file was deleted.

Empty file.
16 changes: 0 additions & 16 deletions backend/backend/backend/asgi.py

This file was deleted.

221 changes: 0 additions & 221 deletions backend/backend/backend/settings.py

This file was deleted.

Loading