websockets-nestjs-flutter icon indicating copy to clipboard operation
websockets-nestjs-flutter copied to clipboard

Server-side timer project using WebSockets(with Socket.IO), NestJS and Flutter

Documentation

Full documentation and the article series can be found here,

Article on dev.to

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

Support me

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

Buy Me A Coffee