Skip to content

dminones/react-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-chat

A chat app built with react and socket.io

Getting Started

This is a chat app with client and server apps. Both apps are included in this repo and can be run together or separately.

Install and run dev app

npm install
npm run dev

This will run both client and server app with hot reload.

Users Login

In order to login you need a username and password.
User info is stored on a json file: /server/models/users.json
You can use one of the existent users or create newones by editing this file.

Client App

This app is built using Create React App.

Run client separately

npm run client

Server App

This app is build using vainilla nodejs with no boilerplate.

Run server separately

npm run server

Heroku Deploy

The app is deployed on heroku: https://react-chat-dminones.herokuapp.com/
Scripts being used to run on heroku from package json:

"heroku-postbuild": "cd client && npm install && npm install --only=dev --no-shrinkwrap && npm run build",
"start": "node server/"

Useful links

About

A chat app built with react and socket.io

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published