This project was generated with angular version 12.1.2.
- first install and config and run websocket server from https://github.com/rezanadimi72/php-websocket
- clone project in local
- cd in your folder
- run
npm iin terminal - change server websocket URL from this path: <src/app/services/app.service.ts> Line 30
- for example set default url to http://localhost:8080/php-websocket/bin/chat-server.php
- run
ng serve - open http://localhost:4200 in two browser
- login and start realtime chat
browser push notification