Skip to content

Welcome to the Open Source Weekend (OSW) Web Portal!

License

Notifications You must be signed in to change notification settings

oscfcommunity/OSWeekend-Web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Open Source Weekend (OSW)

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)!

OSW - Backend

  1. Create a .env file in the main folder with the following content:

    DBURL="_Your MongoDB Collection URL_"
    PORT=4000
    JWT_SEC="Open Source Weekend"
    MAILER="[email protected]"
    EMAILPASS="your_email_app_password"
    OTPSEC="THIS IS SECRET"
    
  2. Create a folder named uploads. Inside this folder, create a few other folders, such as blog.

  3. After completing the above steps, run the following command in your terminal:

    npm i
    

OSW - Frontend

  1. In your frontend folder, run the following command in your terminal:

    npm i --force
    
  2. After the installation is complete, you can start the frontend by running:

    npm start
    

For Chat App

  1. After completing the frontend setup, create a .env file in the ChatApp folder located at your-frontend-folder/src/components/. Write the following content:

    DBURL="_Your MongoDB Collection URL_"
    PORT=9000
    
  2. In the terminal, navigate to the path your-frontend-folder/src/components/ChatApp.

  3. Run the following command in the terminal:

    npm i
    
  4. After the installation, start the Chat App by running:

    npm start