Skip to content
Basudeb-BejPublic

About

Quantic is an AI-powered chatbot project built around conversational AI, retrieval-augmented generation (RAG), long-term memory, and document understanding. Its web interface uses React and Vite, while the API is built with Node.js and Express.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

90 Commits

Folders and files

Repository files navigation

Quantic — Conversations with context

✦ Quantic

A modern AI chat experience with memory, retrieval, and document understanding.

Explore the live app: quantic-nu.vercel.app


React Vite Node.js Express MongoDB


Live Demo · Report a Bug · Request a Feature


Overview

Quantic is an AI-powered chatbot project built around conversational AI, retrieval-augmented generation (RAG), long-term memory, and document understanding. Its web interface uses React and Vite, while the API is built with Node.js and Express.

The repository is organized into separate frontend and backend applications.

Highlights

Capability What it provides
AI conversations Conversational responses using the Groq SDK
Retrieval-augmented generation RAG components using ChromaDB and local embedding support
Long-term memory Dedicated memory functionality
Document understanding PDF and Office document processing, with OCR support through Tesseract.js
Authentication JWT-based authentication and optional two-factor authentication support
Files and images Upload-related functionality in the chat experience
Administration Admin routes and public announcements
Modern interface React 19, Vite, React Router, and TipTap-based editing components

Feature availability may depend on configuration and external services. See the application code and deployment environment for the current implementation details.

Tech stack

FrontendReact 19, Vite, React Router, TipTap, Axios
BackendNode.js, Express 5, MongoDB, Mongoose
AI and retrievalGroq SDK, ChromaDB, @xenova/transformers
Authentication and securityJSON Web Tokens, bcrypt, Speakeasy, Helmet, express-rate-limit
Documents and mediapdf-parse, Mammoth, officeparser, Tesseract.js, Sharp
OperationsNodemailer, Winston, Morgan

Repository layout

Quantic/
├── front-end/       # React + Vite web application
│   └── package.json
├── back-end/        # Express API and backend services
│   ├── server.js
│   └── package.json
├── README.md
├── CONTRIBUTING.md
└── SECURITY.md

Run locally

Prerequisites

  • A supported Node.js release and npm
  • Access to the external services required by the features you want to run
  • MongoDB configured for the backend

1. Start the backend

cd back-end
npm install

Create a local .env file inside back-end/ and configure the environment variables required by the backend and its service integrations. The server reads this file at startup. Keep real credentials out of Git.

Start the API:

npm start

The server defaults to port 8000 when PORT is not set. The backend CORS configuration uses FRONTEND_URL for allowed frontend origins and includes the published Quantic frontend origin in its current configuration.

2. Start the frontend

Open a second terminal:

cd front-end
npm install
npm run dev

Vite prints the local development URL in the terminal (typically http://localhost:5173). Keep the frontend origin aligned with the backend's CORS configuration.

3. Build the frontend

From front-end/:

npm run build

To preview a production build locally:

npm run preview

Configuration notes

  • Use the environment variable names expected by the current backend code and service integrations; do not copy production credentials into local files or commit them.
  • Store deployment secrets in the hosting provider's environment-variable settings.
  • The exact configuration needed depends on which integrations and features you enable.
  • Do not publish API keys, database connection strings, session/JWT secrets, mail credentials, or private tokens in issues, screenshots, logs, or commits.

Development workflow

  1. Create a branch for your change.
  2. Keep changes focused and preserve existing application behavior unless a feature change is intentional.
  3. Run the frontend build after frontend or documentation-adjacent UI changes.
  4. Test the backend and affected flows in your environment; the backend package currently contains a placeholder test script rather than a configured automated test suite.
  5. Review the diff for accidental secrets before opening a pull request.

See CONTRIBUTING.md for contribution guidance and SECURITY.md for responsible vulnerability reporting.

Security

Quantic includes authentication and security-related middleware, but no application should be assumed secure solely because it uses these components. Keep dependencies updated, configure secrets outside source control, and verify production settings before deployment.

If you believe you have found a vulnerability, please follow SECURITY.md. Do not publish exploit details or credentials in a public issue.

Project status

Quantic is actively represented by the source in this repository. Features, configuration requirements, and deployment behavior may evolve. For the most accurate details, use the current code and the live demo rather than assuming every integration is enabled in every environment.


Built with curiosity. Designed for useful conversations.

Open Quantic · Browse the source

About

Quantic is an AI-powered chatbot project built around conversational AI, retrieval-augmented generation (RAG), long-term memory, and document understanding. Its web interface uses React and Vite, while the API is built with Node.js and Express.

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages