DEENUU1 / digital-fortress

🏰 Digital Fortress based on the book by Dan Brown

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Contributors Forks Stargazers Issues MIT License LinkedIn


Digital Fortress

Digital Fortress is a techno-thriller novel written by American author Dan Brown and published in 1998 by St. Martin's Press. The book explores the theme of government surveillance of electronically stored information on the private lives of citizens, and the possible civil liberties and ethical implications of using such technology.

Report Bug · Request Feature

app

app

app

app

app

app

app

app

System Architecture

Features

  1. JWT and OAuth Google Integration:

    • Implements a robust authentication and authorization system through the synergistic use of JSON Web Tokens (JWT) and OAuth Google, ensuring a high level of security in the processes.
  2. Langchain Framework Integration for Large Language Models:

    • Leverages the Langchain framework to seamlessly integrate and interact with large language models, optimizing the handling of extensive linguistic data.
  3. Tree Data Structure for Scenario Interconnections:

    • Employing a sophisticated tree data structure to establish connections between individual scenarios. This enables the transparent construction of elaborate scenarios, enhancing the overall project structure.
  4. Advanced File Processing and Capacity Management:

    • Implements advanced file processing techniques, including embedding, and provides robust management of project capacity constraints. Users can efficiently utilize and manage the maximum allowable capacity for their projects.
  5. Subscription System for Enhanced Application Features:

    • Incorporates a subscription system that enables users to unlock additional application capabilities. Notably, the integration with the Stripe payment system is currently pending, adding a streamlined payment process to the subscription functionality.

Technologies:

  • Python
    • Django / Django Rest Framework
    • Langchain
    • Celery
    • Pytest
  • Typescript
  • React / NextJS
  • Docker / Docker-compose
  • Redis
  • SQLite
  • PostgreSQL
  • Pinecone (vectore database)
  • CI/CD

Local environment installation

  1. Clone repository
git clone "https://github.com/DEENUU1/digital-fortress.git"
  1. Run backend
# Create .env file based on .env_example
cp .env_example .env
  • without docker
# Change directory to backend
cd backend/

# install all required libs
pip install -r requirements.txt

# Create superuser
python manage.py createsuperuser

# Start server
python manage.py runserver
  • with docker
docker-compose build

docker-compose up
  1. Run frontend
# Create .env.local in frontend/ directory

NEXT_PUBLIC_HOST=http://localhost:3000
API_URL=http://127.0.0.1:8000/
# Change directory to frontend
cd frontend/

# Install deps
npm i 

# Run local server
npm run dev 

Authors

License

See LICENSE.txt for more information.

About

🏰 Digital Fortress based on the book by Dan Brown

License:MIT License


Languages

Language:Python 50.6%Language:TypeScript 48.5%Language:CSS 0.5%Language:JavaScript 0.2%Language:Dockerfile 0.2%