Live Chatting app
- Run the following command in the command line
$ git clone https://github.com/xrokz/WebChat.git
- Thats it..
- go to command line and run
$ cd WebChat
- now you have the source-code now install the packages using
$ npm i
-
now you need to add your MongoDB url:
- Go to MongoDB Cloud and create a account
- Create Cluster and make your free database and get the link e.g
mongodb+srv://USER:PASS@CLUSTER_NAME.mongodb.net/DATABASE?retryWrites=true&w=majority
- go to config/db.json file and paste the url there
-
now you are done just run the app using
$ npm run dev
and WebChat will be running at localhost:3000
- you can also host it to public by running
$ npm run start
There is room system so you can chat with people without being interrupted by other people chating https://webchat.app/ROOM_KEY
and the ROOM_KEY
can be anything you want
till now i have no chat logging so when you join a room you can't see the older messages but in the future i will add chat saver no worries..
You can help me getting this project done by forking this app and making your own adds and i will check and approve it..
in case you saw any errors you can report them for me in the issues
and i will be very greatfull for that..