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

Article on dev.to

Support me

Do you think I deserve a cup of coffee for this project? 😃

Buy Me A Coffee

GitHub

View Github