Giter VIP home page Giter VIP logo

gustavoreinaldi / webchat Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 194 KB

Implementation of websockets (server-side and client-side) in a web chat application. I hope you enjoy it.

Home Page: https://www.linkedin.com/in/gustavo-reinaldi/

HTML 6.25% JavaScript 12.74% TypeScript 71.99% SCSS 9.03%
angular express node nodejs socket-io socket-io-client socket-io-server websocket websocket-client websocket-server websockets

webchat's Introduction

WebChat

Angular 12.1.0 NPM Version (with dist tag) Socket.io - server-side Socket.io - client-side NPM Version Node tag

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.


Webchat - Print Screen

Run Frontend

  1. Open the console in the webchat-front directory.
  2. Run npm install to install all dependencies.
  3. Run ng serve for a dev server. Navigate to http://localhost:4200/.

Run Backend

  1. Open the console in the web-socket-back directory.
  2. Run npm install and then run node src/index.js to start server.
  3. By default you can find the server in http://localhost:8080.

Do a Pull Request =)

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!

webchat's People

Contributors

gustavoreinaldi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.