Skip to content

sanketshevkar/Debately

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

firebase reactjs mongodb fastapi

logo
Smart Debate analysis platform.
Main server for managing all the services in the project. Demo Video Link

Prerequisites

This project has 2 seperate components,front-end and back-end.The front-end has node-module dependancies and requires node runtime. The back-end is developed using fastapi and has pip dependencies.

  1. NodeJs
  2. FastAPI
  3. MongoDB
  4. Firebase
  5. WebRTC

API Used

  1. Magic API
  2. Symbl AI API

Run Loaclly

API Config

Firebase config file

cd ./client/src/firebase

Create firebase config file.
File name - index.js

import firebase from 'firebase';
import 'firebase/firestore';

firebase.initializeApp({
  apiKey: '',
  authDomain: '',
  projectId: '',
  storageBucket: '',
  messagingSenderId: '',
  appId: '',
  measurementId: '',
});

export default firebase;

Magic API config file

cd ./client/src

Create magic config file.
File name - magicKey.js

const magicKey = {
    API_KEY: ''
}

export default magicKey;

Starting the Back-end Server

pip install -r requirements.txt
cd ./debately.deploy/backend
uvicorn backend.app.main:app 

Starting the Front-end Server

cd ./client
npm install
npm start 

Testing Scripts

 cd ./debately.deploy/backend/app
 python test_cases.py

Contribution Guidelines

For code contributions, read our CONTRIBUTING guide.


System Architecture

System_Architecture


Team Tier-4

  1. Sanket Shevkar
  2. Gatij Taranekar
  3. Aaryan Srivastava
  4. Pranav Pathare

About

Smart Real TIme Debate Analyser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •