A real-time chat application. Another fun side project :)
To run this project locally, follow these steps:
frontend
directory and run npm install
.server
directory and run npm install
.serviceAccountKey.json
.serviceAccountKey.json
file in the server/config
directory.frontend
directory, create a new file named .env
based on the .env.example
file..env
file with your Firebase configuration details..env
based on the .env.example
file..env
file according to your preferences. For example, set the PORT
variable to specify the desired port for the server and set MONGO_URI
to your MongoDB connection URI.server
directory and run npm run start
.frontend
directory and run npm start
.http://localhost:3000
.Please make sure to keep the serviceAccountKey.json
file and sensitive information secure and not commit them to version control.