- Frontend: EJS, Vanilla CSS, JavaScript
- Backend: Node.js (Express.js)
- Database: MongoDB Atlas
- Containerization Framework: Docker
git clone https://github.com/sandip2224/ChatIO.git
cd ChatIO
# Database URI
MONGO_DEV_URI=<Unique MongoDB Dev Cluster URL>
MONGO_PROD_URI=<Unique MongoDB Prod Cluster URL>
# VAPID Keys
PUBLIC_KEY=<Public VAPID Key>
PRIVATE_KEY=<Private VAPID Key>
# Base URL
BASE_URL=<http://localhost:3000> || <>
Note: Get the following URL from MongoDB official website. You need to configure the
username
,password
anddbname
accordingly.
mongodb+srv://<username>:<password>@cluster0.x1ccn.mongodb.net/<dbname>?retryWrites=true&w=majority
npx web-push generate-vapid-keys
Set these VAPID keys inside the .env file (mandatory)
docker compose up