SkipChat is a real-time chat application built with TypeScript, React.js, MongoDB, and Socket.io. SkipChat provides an easy-to-use, secure environment for users to connect and chat in real time. here
Both should be installed and make sure mongodb is running.
git clone https://github.com/sanketrathod07/skipchat.git
cd skipchat
To streamline and secure your configuration, you'll need to create separate .env files for both the frontend and backend.
Now install the dependencies
cd server
npm install
cd ..
cd public
npm install
We are almost done, Now just start the development server.
For Frontend.
cd public
npm start
Now open (localhost:3000) in your browser.
For Backend.
Open another terminal in folder, Also make sure mongodb is running in background.
cd server
npm start
Done! Now open (localhost:5000) 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-cache
after the build is complete run the containers using the following command
docker compose up
now open localhost:3000 in your browser.# skipchat