Skip to content

Latest commit

 

History

History
108 lines (87 loc) · 2.75 KB

README.md

File metadata and controls

108 lines (87 loc) · 2.75 KB

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