Skip to content

baileyalo/WebChatApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ALKASP CHAT APP

CONTRIBUTORS:

Alwayne Bailey
[email protected]

Kasper Pawlowski

HOW TO RUN OUR CHAT APPLICATION:

  1. install the dependencies in both 'backend' and 'frontend' folders by using the following command in each of them: npm install
  2. run applications in both folders by using the following command in each of them: npm start from root
  3. open the browser and go to http://localhost:3000/ !

As MongoDB server is cloud hosted, to check events and chat history do the following:

  1. open MongoDB Compass app
  2. choose 'connect to' option
  3. paste the following connection string: mongodb+srv://baileyalo:[email protected]/test
  4. upon successful connection choose AlkaspChat database
  5. check Events and History collections

Required queries were written in separate files that can be found in folder 'server/queries'. To run them use the following command: node .\queries\retrieveEventLogs.js node .\queries\retrieveChatHistory.js [-u user] [-r room]

retrieveEventLogs.js returns to the console all the event logs retrieveChatHistory.js returns to the console all chat history according to the given parameters. Both of them are optional.

i.e.

node .\server\queries\retrieveChatHistory.js -u kasper returns chat history from user kasper

or

node .\server\queries\retrieveChatHistory.js -u Alwayne -r Developers returns chat history from user Alwayne in chat Developers

Technologies Used :

  • MongoDB
  • Express Js
  • React
  • Node Js

Homepage:

image

image

image

image

Chat Logs:

image

image

About

Web Chat App utilizing MERN STACK

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published