Skip to content

jwdev66/socket_chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React-redux socket.io Chat

This is my PET Chat project that I'd like to share with you.

Included Webpack 4 babel 7 styled-components redux redux-thunk socket.io

Installation

  1. Clone the branch you need

  2. Install dependencies via npm npm i or yarn yarn install.

  3. npm run build

  4. Start web server npm run server.

  5. Open 2 Browser tabs and enter 2 different nicknames. Navigate to http://localhost:5001

  6. Type anything in a chat.

Location of stuff

.
├── server/                 # Server logic with socket.io
├── src/                    # App folder with all developer stuff
│   ├── actions/            # Redux actions used api/ functions
│   ├── api/                # Axios requests logic
│   ├── components/         # All components used in this project
│   ├── constants/          # Redux constants used in actions/
│   ├── pages/              # The layout of home page
│   ├── reducers/           # Redux reducers
│   ├── store/              # Redux store with initial state
│   ├── static/             # Used to store fonts, icons, images
│   └── ...
├── webpack/                # Modules for webpack I used
├── webpack.config.js       # All webpack settings
└── ...

Build production

If you want to build a production version of my app you need to type

npm run build || yarn build

This will create dist folder where everything will be compressed and minified.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published