Skip to content
Open
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
41 changes: 27 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,29 +1,42 @@
# Logs
logs
# Dependency directories
node_modules/
**/node_modules/

# Production & build outputs
dist/
**/dist/
dist-ssr/
build/

# Environment files
.env
.env*.local
*.env
**/.env
**/.env*.local

# Log files
logs/
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local
*.env
# Vite cache & temp files
.vite/
**/.vite/
temp_lumina/

# Editor directories and files
.vscode/*
# Editor & OS files
.vscode/
!.vscode/extensions.json
.idea
.idea/
.DS_Store
Thumbs.db
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
yarn.lock
package-lock.json

.env
32 changes: 21 additions & 11 deletions ride_backend/.env.example
Original file line number Diff line number Diff line change
@@ -1,20 +1,30 @@
# Google OAuth Configuration
GOOGLE_CLIENT_ID=your_google_client_id_here.googleusercontent.com
GOOGLE_CLIENT_SECRET=your_google_client_secret_here
REDIRECT_URL=http://localhost:3000/auth/google/callback
# Application & Server Configuration
PORT=3000
NODE_ENV=development
FRONTEND_URL=http://localhost:5173
ALLOWED_DOMAINS=iiti.ac.in

# Database Configuration (Neon PostgreSQL)
# DATABASE_URL is used for runtime pooled connection (Prisma & pg pool)
# DIRECT_URL is used by Prisma CLI for migrations & direct connection
DATABASE_URL="postgresql://neondb_user:neondb_password@neondb_host:5432/neondb_name?sslmode=require"
DIRECT_URL="postgresql://neondb_user:neondb_password@neondb_host:5432/neondb_name?sslmode=require"

DB_USER="neondb_user"
DB_HOST="neondb_host"
DB_NAME="neondb_name"
DB_PASSWORD="neondb_password"
DB_PORT=db_port_number
EMAIL_USER_SENDER=email_from_which_you_send_emails
EMAIL_APP_PASSWORD=email_app_password
EMAIL_USER_RECEIVER=email_to_which_you_receive_contact_emails
DB_PORT=5432

# Google OAuth Configuration
GOOGLE_CLIENT_ID=your_google_client_id_here.googleusercontent.com
GOOGLE_CLIENT_SECRET=your_google_client_secret_here
REDIRECT_URL=http://localhost:3000/auth/google/callback

# Session Configuration
SESSION_SECRET=your_super_secret_session_key_here

# Application Configuration
PORT=3000
NODE_ENV=development
# Support Email Configuration
EMAIL_USER_SENDER=email_from_which_you_send_emails
EMAIL_APP_PASSWORD=your_email_app_password
EMAIL_USER_RECEIVER=email_to_which_you_receive_contact_emails
20 changes: 20 additions & 0 deletions ride_backend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Dependency directories
node_modules/

# Environment files
.env
.env*.local
*.env

# Logs
logs/
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Editor & OS files
.DS_Store
Thumbs.db
.vscode/
.idea/
Loading