-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart-everything.bat
More file actions
41 lines (34 loc) · 1.01 KB
/
start-everything.bat
File metadata and controls
41 lines (34 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
@echo off
echo 🚀 Starting Sports Connect - Complete Setup
echo.
echo 📊 Starting MongoDB Backend Server...
start "Backend Server" cmd /k "cd backend && npm run dev"
echo ⏳ Waiting for backend to start...
timeout /t 5 /nobreak >nul
echo 📱 Starting Expo Frontend...
start "Frontend Server" cmd /k "npx expo start --clear"
echo ⏳ Waiting for frontend to start...
timeout /t 3 /nobreak >nul
echo.
echo ✅ Both servers are running!
echo.
echo 📊 Backend: http://localhost:3333
echo 📱 Frontend: http://localhost:8081
echo 🗄️ MongoDB: mongodb://localhost:27017/sportsconnect
echo.
echo 📱 For mobile testing:
echo 1. Install Expo Go app on your phone
echo 2. Scan the QR code from the frontend terminal
echo.
echo 🌐 For web testing:
echo Open http://localhost:8081 in your browser
echo.
echo Press any key to open the web app...
pause >nul
start http://localhost:8081
start http://localhost:3333
echo.
echo 🎉 Sports Connect is now running!
echo Close the terminal windows to stop the servers.
echo.
pause