ChatBox 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/shivankushsingh09/ChatBox.git
cd ChatBoxNow rename env files from .env.example to .env
cd public
mv .env.example .env
cd ..
cd server
mv .env.example .env
cd ..Now install the dependencies
cd server
yarn
cd ..
cd public
yarnWe are almost done, Now just start the development server.
For Frontend.
cd public
yarn startFor Backend.
Open another terminal in folder, Also make sure mongodb is running in background.
cd server
yarn startDone! Now open localhost:3000 in your browser.
- This method requires docker and docker-compose to be installed in your system.
- Make sure you are in the root of your project and run the following command.
docker compose build --no-cacheafter the build is complete run the containers using the following command
docker compose upnow open localhost:3000 in your browser.




