This is an implementation of WebSockets in a web chat format. Basically, this is an application of Websockets concepts for study purposes.
I hope you like my implementation.
Important
The real goal of this app is to learn the concepts of Web Sockets, and how to implement this connection between frontend and backend. Once learned all this basic concepts I'll be able to create a more complex project, that is coming soon.
This "complex project" consists in a home broker with authentication/authorization services, multi-threading, web sockets, persistence in database, and more tools that will increment the complexity level.
- Open the console in the
webchat-front
directory. - Run
npm install
to install all dependencies. - Run
ng serve
for a dev server. Navigate tohttp://localhost:4200/
.
- Open the console in the
web-socket-back
directory. - Run
npm install
and then runnode src/index.js
to start server. - By default you can find the server in
http://localhost:8080
.
If you have any fixing or a new feature idea, I'll be so thankful if you help me to improve this basic project doing a Pull Request.
I hope you enjoy it!