Skip to content

Example chat web application built using Node.js, React and Socket.io.

License

Notifications You must be signed in to change notification settings

diogocapela/socket-io-chat

Repository files navigation

socket-io-chat

Build Status Dependency status Dev Dependency status

A simple chat web application built using Node.js, React and Socket.io.

Live Demo: https://node-react-socket-io-chat.herokuapp.com

Folder Structure

├── public
│   ├── img
│   ├── robots.txt
│   ├── humans.txt
│   ├── manifest.json
│   └── sitemap.xml
├── src
│   ├── api
│   ├── components
│   ├── config
│   ├── pages
│   ├── redux
│   ├── socket
│   ├── styles
│   ├── test
│   ├── App.js
│   ├── index.js
│   ├── client.js
│   └── server.js
├── package-lock.json
├── package.json
└── razzle.config.js

Setup

# Get the latest snapshot
$ git clone https://github.com/diogocapela/socket-io-chat.git

# Change directory
$ cd socket-io-chat

# Install all the dependencies
$ npm i

# Start the development server
$ npm run dev

# Build for production
$ npm run build

# Start the production server
$ npm run start

Clean

# Deletes node_modules and package-lock.json
$ npm run clean

Test

# Run all tests
$ npm run test

Deploy

# Build project
$ npm run build

# Deploy
$ git push heroku master

About

Example chat web application built using Node.js, React and Socket.io.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published