Realtime chat app : Chat Here!
Realtime chat app with websockets using Node.js, Express and Socket.io
- Websockets - The primary interface for connecting to a WebSocket server and then sending and receiving data on the connection.
- Express.js - Fast, unopinionated, minimalist web framework for Node.js
- Redis-io - The open source, in-memory data store used by millions of developers as a database, cache, streaming engine, and message broker.
- Socket-io - Library that enables low-latency, bidirectional and event-based communication between a client and a server.
- Node.js - JavaScript runtime
- First install nodejs and mongo db on your computer.
- Fork the repo by clicking on the fork option from the top right corner.
- Copy the link from the code option in the repo.
- Open the terminal on your pc and open the directory in which you want to open the files.(use cd {directory} )
- open the code editor in the same directory (vscode preferred).
- then in the terminal of the same directory use -> npm i to install all necessary packages.
- Finally use npm start to run the local host.
- To open type on the browser --> https://localhost:3000
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
npm i OR yarn install
npm run dev OR yarn run dev
Go to localhost:3000