git clone git@github.com:TroyanOlga/chat.git
cd frontend
npm install
cd server
npm install
Use .env.example as reference
brew services start redis
sudo systemctl start redis
cd server && nodemon app.js
or (no hot reload)
cd server && npm run start
cd frontend && npm run serve
Web: navigate to http://localhost:8080
Command-line: connect with netcat:
nc localhost 3001
- 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.