Welcome to the Open Source Weekend (OSW) repository! OSW is a community-driven initiative aimed at promoting and celebrating open-source technologies on a regular basis. Our goal is to create a platform for knowledge sharing, collaboration, and exploration of various open-source projects.
This is an initiative by Open Source Community Foundation (OSCF)!
-
Create a
.envfile in the main folder with the following content:DBURL="_Your MongoDB Collection URL_" PORT=4000 JWT_SEC="Open Source Weekend" MAILER="your_email@gmail.com" EMAILPASS="your_email_app_password" OTPSEC="THIS IS SECRET" -
Create a folder named
uploads. Inside this folder, create a few other folders, such asblog. -
After completing the above steps, run the following command in your terminal:
npm i
-
In your frontend folder, run the following command in your terminal:
npm i --force -
After the installation is complete, you can start the frontend by running:
npm start
-
After completing the frontend setup, create a
.envfile in theChatAppfolder located atyour-frontend-folder/src/components/. Write the following content:DBURL="_Your MongoDB Collection URL_" PORT=9000 -
In the terminal, navigate to the path
your-frontend-folder/src/components/ChatApp. -
Run the following command in the terminal:
npm i -
After the installation, start the Chat App by running:
npm start