Work in progress of a chat app using Node.js and socket.io.
A real-time browser based chat app that's currently being developed using Node.js and socket.io. The aim of this project is to learn and explore more of JavaScript, Node.js and any other stuffs that may come along.
- Clone this repository using
git
:
git clone https://github.com/AkshayMohan/chat-app-nodejs.git
-
Navigate to the repository using
cd chat-app-nodejs
-
Run
npm install
- Install any dependencies that may be asked to. I will update
package.json
in near future to automatically install other libraries.
- Start the application by starting server.js using
npm start
- To run in dev-mode, you'll need to have nodemon installed.
- Use
npm run devStart
to start the application in dev-mode. Changes to any file with js, mjs or json extension will automatically restart the server.
- Once the back-end is up and running, run
src/client/index.html
on a browser to run the client-side. Multiple tabs can be spawned to test it's working.