Skip to content

Latest commit

 

History

History
64 lines (51 loc) · 1.88 KB

File metadata and controls

64 lines (51 loc) · 1.88 KB

Note Maker

Quality Gate Status

Note Maker is not your average notes app. It provides you with the ability to chat with your notes. It constructs knowledge graph using your notes

architecture image

Techologies Used

  • Frontend: React, Tailwind CSS, ShadCN UI Components, Zustand, TanStack Query, Reagraph, AI SDK, Framer Motion
  • Backend: Python FastAPI, LangChain, Qdrant
  • LLM Provider: Groq cloud
  • Embedding Model Provider: Google Generative AI Embeddings
  • Vector Store Hosting: Qdrant Cloud
  • Database: Aurora Postgres DB
  • Hosted Redis Cache: Amazon ElastiCache
  • Backend Deployment: AWS Lambda
  • API Gateway: Amazon API Gateway
  • Authentication: API Gateway Authorizer with JWT
  • Frontend Hosting: Amazon S3
  • CDN: Amazon CloudFront

Run Locally

  1. create utility services: docker-compose up -d

  2. add .env files to all backend folders:

    GROQ_API_KEY=<add your key>
    DB_URL=postgresql+asyncpg://admin:admin123@localhost:5432/mydb
    REDIS_HOST=localhost
    REDIS_PORT=6379
    GOOGLE_API_KEY=<add your key>
    QDRANT_URL=http://localhost:6333
    JWT_SECRET_KEY=supersecretkey
    
  3. install backend dependencies

    • cd backend
    • pip install -r requirements.txt
  4. create tables

    • cd backend/setup_tables
    • python tables.py
  5. run ai_analyze_service

    • cd backend/ai_analyze_service
    • python app.py
  6. run auth_service

    • cd backend/auth_service
    • python app.py
  7. run notes_crud_service

    • cd backend/notes_crud_service
    • python app.py
  8. run verify_token_service

    • cd backend/verify_token_service
    • python app.py
  9. run frontend

    • npm install
    • cd frontend
    • npm run dev