Snappy is chat application build with the power of MERN Stack.
Both should be installed and make sure mongodb is running.
git clone https://github.com/shishir91/Chat_App-MERN.git
cd chat-app-react-nodejs
Now rename env files from .env.example to .env
cd client
mv .env.example .env
cd ..
cd server
mv .env.example .env
cd ..
Replace MONGO_URL with your mongodb url.
Now install the dependencies
cd server
yarn
cd ..
cd client
yarn
We are almost done, Now just start the development server.
For Frontend.
cd client
yarn start
For Backend.
Open another terminal in folder, Also make sure mongodb is running in background.
cd server
yarn start
Done! Now open localhost:3000 in your browser.