Chat App (Front-end) using React.JS. (Assignment)
Deeptanshu Sharma
Jaypee Institute of Information Technology, Noida
Major Skills - React.js, Node.js, Express.js, MongoDB, Sass/Scss, Bootstrap, Python, Linux.
This URL has the application deployed in. You can visit this URL to see my Application live.
View The Application in Desktop/Laptop as I haven't made it mobile friendly yet.
I have also included ScreenShots and ScreenCast Videos in the repository for your reference.
A chat app frontend where user can view contacts and select contacts by clicking on them to start a conversation.
App has a dedicated Chat Area on right side where user can view conversation with the currently selected contact.
I have also included the functionality to append messages for each user when you click on the send message button in currently active conversation. (as mentioned in the assignment). user can switch between conversation and can view or send messages to the corresponding contact.
This project was bootstrapped with Create React App.
Install NodeJS
Refer to https://nodejs.org/en/ to install nodejs
Install create-react-app
Install create-react-app npm package globally. This will help to easily run the project and also build the source files easily. Use the following command to install create-react-app -
npm install -g create-react-app
- Clone the project
- Install all npm packages by Going into the project folder through terminal, and typing command -
npm install
- In order to run application type the following command in the same directory -
npm start
The Application Runs at localhost:3000
The app is the top component, Which has Contacts and Chat component.
Chat component maintains logic for chat display and composing and sending messages(appending to message list).
The Contact Component maintains user's contacts(displaying and selecting contact to chat).
Other components such as ChatArea , People receive props from parents.