Sample Livechat using Socket.io Project
- Angular Material design
✔️ - Mobile friendly
✔️ - Lightweight
✔️ - Socket.io UserAuth Integrated
✔️ - Angular Observables
✔️ - Angular Services
✔️ - Modular design
✔️
How to run the project in localhost
Instructions for FrontEnd
- Place yourself into the chat-FE folder
- NodeJs minimum 10.15.0 is required
- Setup your own URL at the webservice file or replace with localhost
- Install dependecies
npm i
- Serve the project
ng serve
Instructions for Backend
- Place yourself into the chat-BE folder
- NodeJs minimum 10.15.0 is required
- Install dependecies
npm i
- Serve the project
node lib/index.js
- Service will run on port 3000 by default
Deploy to Firebase
- Login with Firebase CLI
firebase login
- Initialize Firebase project -> Follow the instrucctions at the CLI
firebase init
point to your "dist" folder for further deployments - Build your production package
ng build --prod
- Deploy the project to your choosen Firebase project
firebase deploy --hosting
Further information about deployment Angular deployment Firebase Deploy
Made with