The app is a single page, and contains a few sections:
a. Showsmyemail b. Showsalistofallthecurrentlyonlineusersinthesystem
Show the chat with the selected user
Message box, where you type in messages
- As a user, I have to login or register to use the app ✅
- When I’m logged in and the app is open, other users should see me in the online user’s list ✅
- I can block a user, so I won’t show up on his users list anymore. ✅
- All users can chat with each other (unless blocked) ✅
- If I have no open windows for the app, I should disappear from the list ✅
- If I have multiple windows open for the app, the state should be the EXACT same
for each
⚠️ - The app state is around live changes. The app should not rely on polling (interval requests). ✅
Before this app can run, you have to install and setup
- node
- docker
Open the parent folder, Run command in terminal
docker-compose up
Open server folder install node packages and start backend server, Run command in terminal
npm install
npm run build
npm run start
And finally open client folder install node packages and start frontend server, Run command in terminal
npm install
npm run start