Skip to content

Latest commit

 

History

History
87 lines (67 loc) · 2.03 KB

README.md

File metadata and controls

87 lines (67 loc) · 2.03 KB

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