DEV Community

xQrewo
xQrewo

Posted on

๐Ÿš€ Building DocuScopeAI โ€” My First Real Full-Stack AI Project (Part 1)

Hey everyone!
I'm Max, a high school student from Poland. Iโ€™ve been coding for a while now, but this is the first time Iโ€™m diving deep into a full-stack project that mixes frontend, backend, and AI magic โ€” and I'm hyped to share my journey with yโ€™all. This post is the first in a series documenting how Iโ€™m building DocuScopeAI from scratch.

๐Ÿ“Œ What is DocuScopeAI?

DocuScopeAI is a web app that helps users (especially SMBs and freelancers) understand complex documents like NDAs, contracts, invoices, and terms & conditions โ€” without needing a lawyer.

The app can:

  • ๐Ÿง  Extract raw text from PDFs and images (using OCR)
  • โœ๏ธ Summarize documents with Hugging Face models
  • โ“ Answer questions about the content
  • ๐ŸŒ All through a simple, modern web interface

๐ŸŽฏ Why I'm Building This

My main goals:

  • Learn how to build modern full-stack apps
  • Get good at FastAPI & Hugging Face pipelines
  • Dive into frontend dev (React, Tailwind, Next.js)
  • Play with open-source LLMs
  • Create something Iโ€™d actually use IRL

โš™๏ธ What Iโ€™ve Done So Far

โœ… OCR-powered document ingestion (images + PDFs)
โœ… Summarization using facebook/bart-large-cnn
โœ… Raw text summarization endpoint
โœ… Question answering using OpenRouterโ€™s LLaMA 3 model
โœ… Clean file structure with utils and separate routes
โœ… Started planning frontend (Next.js + Tailwind combo incoming)

๐Ÿ”ฎ Whatโ€™s Coming Next

  • โœ… Connect frontend to the backend via REST
  • ๐Ÿ“ Add document versioning and history tracking
  • ๐Ÿ” Add user authentication
  • ๐Ÿงฉ Extract key clauses (like dates, names, legal terms)
  • โœจ Improve the UI with animations and polish
  • ๐Ÿ“ฆ Deploy the app (thinking Railway or Fly.io for backend)

๐Ÿ›  Tech Stack

  • ๐Ÿง  Hugging Face Transformers for AI tasks
  • ๐Ÿงพ PyTesseract + pdf2image for OCR
  • ๐Ÿš€ FastAPI for the backend
  • ๐Ÿ’ป Next.js + Tailwind (soon) for the frontend
  • ๐Ÿ—ƒ PostgreSQL (coming later for storage)
  • โ˜๏ธ Hosting with Vercel + Railway (probably)

Whole project is available on github: https://github.com/urewo396/DocuScopeAI if you want to check it out or make some changes for yourself feel free to do it!

Thanks for reading!
If youโ€™ve built something similar or have ideas for cool features, hit me up in the comments ๐Ÿ‘‡
And if you're also just vibing through learning FastAPI or frontend like me, letโ€™s connect ๐Ÿ’ฌ

Until next time โ€” peace out ๐Ÿง โšก

Top comments (0)