WINDOWS SETUP FIXES FOR SIYANTRANSIT EXPRESS
===========================================

ISSUE 1: DATABASE_URL ERROR
---------------------------
You need to set up a PostgreSQL database. Here are your options:

OPTION A - Use Neon Database (Free Cloud PostgreSQL):
1. Go to https://neon.tech
2. Sign up for free account
3. Create a new database
4. Copy the connection string
5. Create .env file in your project root with:
   DATABASE_URL="your-connection-string-here"

OPTION B - Install PostgreSQL Locally:
1. Download from https://www.postgresql.org/download/windows/
2. Install PostgreSQL
3. Create a database named "siyantransit"
4. Create .env file with:
   DATABASE_URL="postgresql://username:password@localhost:5432/siyantransit"

ISSUE 2: WINDOWS COMMAND ERROR
------------------------------
The npm script uses Linux-style commands. Fix this:

Replace in package.json:
"dev": "NODE_ENV=development tsx server/index.ts"

With:
"dev": "set NODE_ENV=development && tsx server/index.ts"

OR use cross-env (recommended):
1. Run: npm install --save-dev cross-env
2. Change to: "dev": "cross-env NODE_ENV=development tsx server/index.ts"

QUICK FIX COMMANDS:
------------------
1. npm install --save-dev cross-env
2. Create .env file with DATABASE_URL
3. npm run db:push
4. npm run dev

SAMPLE .env FILE:
----------------
DATABASE_URL="postgresql://username:password@localhost:5432/siyantransit"

OR (using Neon):
DATABASE_URL="postgresql://username:password@ep-xxx.us-east-1.aws.neon.tech/neondb?sslmode=require"