Chatting app based on your location using React.js & Node.js
Web app for chatting with people near you.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
You are going to need Node.js, npm and MongoDB installed on your machine.
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
sudo apt install -y nodejs
For mongodb visit - https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/
How to properly install and configure NearChat to work on your machine.
Cloning the repository
git clone ...
Enter NearChat directory
cd NearChat/
Enter Backend directory and do npm install
cd NearChat/Backend && npm install --save
Enter Frontend directory and do npm install
cd NearChat/Frontend/frontend && npm install --save
You will need to run Backend & Frontend seperately, ports are already configured, make sure you don't conflict them if you change anything.
Enter Frontend directory and do npm start
cd NearChat/Frontend/frontend && npm start
Enter Backend directory and do npm run dev
cd NearChat/Backend && npm run dev
Now you can load localhost:3000 in your browser and use the app.
- React - Frontend javascript library
- Redux - Javascript library used to manage state
- Socket.io - Javascript Real-time engine used to send and receive messages
- Node - Backend framework
- Express - Node.js web application framework
from https://github.com/AntonioErdeljac/NearChat
No comments:
Post a Comment