Giter Site home page Giter Site logo

codechef-collaborative-coding's Introduction

Collaborative Coding

Collaborative Coding is a platform where users can learn with other users, share ideas and create live discussion groups through voice and video chat. It also users to invite friends and join groups to solve a particular problem.

Key Features of Collaborative Coding

  • Create a discussion group (voice & video)
  • Invite friends or join other groups

Tech Stack Used

  • Angular
  • NodeJS
  • MongoDB
  • CodeChef API
  • TOKBOX VIDEO EMBED API

Configuration

  1. Add url of the angular cli to node_server

    "angularUrl": ["{{Add your domain}}"] (e.g http:localhost:4200)
    
  2. Get client_id and client_secret from CodeChef API and redirect_uri as http://{{Add your domain}}:3000/oauth/codechef

    • Add client_id in angular config path: angweb/src/environments/environment.ts and change redirect_uri as mentioned in CodeChef
      codeChefLoginUrl: 'https://api.codechef.com/oauth/authorize?
      response_type=code&client_id=xxxxxxxxxxxxxx&state=xyz&redirect_uri=http://{{Add your domain}}:3000/oauth/codechef'
      
    • Add client_id and client_secret in NodeJS config path: node_server/config.json and redirect_uri as mentioned in CodeChef
      "redirectUrl": "xxxxxxxxxxxxxxx"
      "client_id": "xxxxxxxxxxxxxxx"
      "client_secret": "xxxxxxxxxxxxxxx"
      
  3. Get embedId from TOKBOX Video embed URL

    • Add embedId in node_server config path:node_server/config.json
      videoApiUrl: "https://tokbox.com/embed/embed/ot-embed.js?embedId=xxxxxxxxxxxxxxx&iframe=true&room="
      
  4. Setup MongoDB

    • Add MongoDB url in node_server path:node_server/config.json
      "mongoDbUrl": "xxxxxxxxxxxxxxx"
      

Setup for Development -

For commands for setup refer setupDev.txt

1.Node installation

  • For Windows
https://nodejs.org/en/
  • For Linux
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
nvm install stable
  1. Angular web client installation

    npm install -g @angular/cli
    
  2. Install git

  3. Clone repo url -

  4. Install node modules and Run

    • For Angular web
    cd CodeChef/angweb
    npm install
    
    • Start Angular Server
    ng serve
    
    • For Node Server
    cd CodeChef/node_server
    npm install
    
    • Start node_server
    npm start
    

codechef-collaborative-coding's People

Contributors

sauraz avatar

Watchers

 avatar

Forkers

gautamaggrawal

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.