Server-side timer project using WebSockets(with Socket.IO), NestJS and Flutter
Output
Setup
Run Locally
Clone the project
git clone https://github.com/RukshanJS/websockets-nestjs-flutter.git
Go to the project directory
cd websockets-nestjs-flutter
Install dependencies for backend
cd backend/server-timer-backend
npm install
Start the backend server
npm run start:dev
Navigate to the frontend/server_timer_frontend
folder
Install dependencies for frontend
flutter pub get
IMPORTANT : You have to replace the value 192.168.X.X
in /lib/sockets/socket_service.dart
with IP address of your localhost
.
Run flutter app
flutter run
Documentation
Support me
Do you think I deserve a cup of coffee for this project? ?