Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

demo chat app

Project setup for dev environment

  1. Clone repository

git clone git@github.com:TroyanOlga/chat.git
  1. Install dependencies

cd frontend
npm install

cd server
npm install
  1. Add .env files to both server and frontend folders

Use .env.example as reference

  1. Start redis (should be installed prior)

mac

brew services start redis

ubuntu

sudo systemctl start redis
  1. Start backend

cd server && nodemon app.js

or (no hot reload)

cd server && npm run start
  1. Start frontend

cd frontend && npm run serve
  1. Use the app

Web: navigate to http://localhost:8080

Command-line: connect with netcat:

nc localhost 3001
  1. Test the app functionality by logging via both web and command line and sending messages. You should see new messages by both users appear in each interface.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages