/JetChat

Chatting Application to Connect With People 🚀

Primary LanguageTypeScriptCreative Commons Zero v1.0 UniversalCC0-1.0

About Project

This is open-source web chatting app, you can there

  • Create account
  • Create private rooms
  • Join in global chat
  • kick users
  • ban users
  • chat with people

Built with

This project uses

Getting Started

  1. clone repo
git clone https://github.com/callmenikk/JetChat.git

then you must setup database configs, re-captcha tokens and host go to src/utils/hostConfigs.json and set your prefered host

{
   "host": "http://localhost:3001"
}

then go to captcha configs src/Components/Home create captcha.json

create key and client secret on re-captcha website

{
   "site_key": "XXX-XXX-XXX"    
}

then go to server/ create env.json

{
   "CAPTCHA": "YOUR CLIENT SECRET"
}
  1. in env.json create "DB_URL"
{
   "CAPTCHA": "YOUR CLIENT SECRET",
   "DB_URL": "YOUR MONGODB DATA BASE URL"
}

and also "PASSWORD_HASH"

{
   "CAPTCHA": "YOUR CLIENT SECRET",
   "DB_URL": "YOUR MONGODB DATA BASE URL",
   "PASSWORD_HASH": "LONG PASSWORD HASH"
}
  1. then run

npm i and npm i --save-dev in main folder

and then same commands in server/ folder

then run npm start in both folders and you are good to go

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b <branch_name>)
  3. Commit your Changes (git commit -m "some cool stuff added")
  4. Push to the Branch (git push origin <branch_name>)
  5. Open a Pull Request

Contact

Contributor