Inspiration
Law students work with a huge amount of information for every case — facts, legal issues, judgments, timelines, exhibits, and details that need to be remembered for exams. In many cases, this information ends up scattered across PDFs, personal notes, documents, and different study tools.
We wanted to solve a simple problem:
What if law students could manage their cases and study them from one intelligent workspace?
Instead of manually turning case information into notes, flashcards, timelines, and revision material, we wanted to combine these workflows into one platform and use AI where it could genuinely reduce repetitive work.
That idea became Docket — an AI-powered legal learning and case management platform built specifically for law students.
Our goal was not to create another generic AI chatbot. We wanted to build a complete product around a real student workflow, where AI works alongside practical tools for organization, revision, and exam preparation.
What it does
Docket helps law students organize, understand, and revise their legal cases from one workspace.
Students can create and manage cases, organize important information, attach supporting exhibits, build timelines, connect related cases, and prepare for exams without constantly switching between different applications.
Docket uses Google Gemini to transform case information into structured learning material.
The AI-powered workflow can generate:
- AI Study Briefs
- Case Facts
- Legal Issues
- Case Holdings
- Case Chronology
- AI-generated Flashcards
- Self-Test Questions
- Revision Material
Docket also includes practical tools that support the complete study workflow:
- Case Management for organizing legal cases
- Case Search for quickly finding information
- Case Timelines for understanding the sequence of events
- Exhibits for images, videos, and PDFs
- Case Tags and Case Constellation for visualizing relationships between cases
- Study Streaks for maintaining consistent study habits
- Exam Timer for exam practice
- Deadline Tracking for managing important dates
- Revision Sheet Export for creating downloadable study material
The core workflow is:
Case Information → AI-Powered Understanding → Interactive Revision → Exam Preparation
Rather than making AI a separate feature, Docket integrates it directly into the student's workflow.
How we built it
Docket was built as a full-stack web application using modern web technologies and AI services.
The frontend was developed with React and Vite, with a responsive interface designed around the workflow of law students.
The backend was built using Node.js and Express.js, providing REST APIs for case management, authentication, study resources, timelines, exhibits, and other application functionality.
For persistent data, we use MongoDB with Mongoose.
For AI functionality, we integrated the Google Gemini API. Gemini is used to analyze case information and generate structured learning resources such as study briefs, flashcards, and self-testing material.
For uploaded case exhibits, including images, videos, and PDFs, we use Cloudinary for cloud storage and media management.
Authentication is implemented using JWT, while passwords are securely hashed using bcrypt. Protected API routes help keep user data and case information associated with the correct account.
We also implemented automated testing and GitHub Actions CI to improve reliability and catch issues during development.
The application was designed as one connected ecosystem rather than a collection of unrelated features. Each part supports the student's journey from organizing a case to understanding it and preparing for an exam.
Challenges we ran into
One of our biggest challenges was making AI-generated content genuinely useful.
Generating text is relatively easy, but creating structured output that can become flashcards, revision material, and self-testing resources requires careful prompt design and application logic.
We also had to integrate multiple systems into one reliable application. Docket combines a React frontend, Node.js backend, MongoDB database, Gemini AI, authentication, and cloud file storage. Making these components communicate reliably required continuous testing and debugging.
Handling different types of legal case materials was another challenge. Students may need to work with images, videos, PDFs, and structured case information, so we needed to make these materials easy to manage without making the interface complicated.
We also focused heavily on the user experience. A legal application can quickly become overwhelming when too many tools are presented at once. We designed Docket around a clear student workflow so that the features feel connected rather than overwhelming.
Another important challenge was deciding where AI actually belongs.
We learned that adding AI to every feature does not automatically make a product better. AI is most useful when it reduces repetitive work or helps transform information into something valuable for the user. Traditional features such as timelines, tags, dashboards, exhibits, and exam tools provide the structure around that intelligence.
Accomplishments that we're proud of
We are proud that Docket became a complete working application rather than simply an AI prototype.
We built an end-to-end workflow where information from a legal case can be transformed into structured learning material and then used for active revision.
One of the workflows we are most proud of is:
Case → AI Study Brief → Facts & Issues → Chronology → Flashcards → Self-Test → Revision
This demonstrates how AI can be integrated into an actual application workflow instead of simply providing a conversational interface.
We are also proud of the supporting functionality we built around the AI, including case management, timelines, exhibits, Case Constellation, study tracking, exam tools, authentication, cloud storage, and revision sheet generation.
From a technical perspective, bringing the frontend, backend, database, AI integration, authentication, storage, testing, and deployment together into one usable product was a major accomplishment.
We are especially proud of the product's focus. Instead of trying to solve every problem in legal technology, Docket focuses on a specific audience — law students — and builds the experience around their actual study workflow.
What we learned
Building Docket taught us that developing an AI-powered application is about much more than connecting an API to a user interface.
We learned how to identify where AI can provide meaningful value and how to integrate AI-generated information into features that users can actually interact with.
Throughout the project, we gained practical experience with:
- Full-stack web development
- React and Vite
- Node.js and Express.js
- MongoDB and Mongoose
- REST API development
- Google Gemini API integration
- Authentication and authorization
- Cloudinary file storage
- Automated testing
- GitHub Actions and CI
- Responsive UI/UX design
- Deploying a complete web application
We also learned how important product design is when working with AI. An impressive AI response is not necessarily useful if it is disconnected from the user's workflow.
The biggest lesson we learned was:
AI becomes much more powerful when it is integrated into a complete workflow instead of being treated as an isolated chatbot.
What's next for Docket
Our next goal is to continue improving Docket as a focused learning and case management platform for law students.
We want to improve the reliability and usefulness of AI-generated educational content while continuing to make legal study more organized, interactive, and accessible.
We also want to learn from how students use Docket and use that feedback to improve the existing experience rather than adding unnecessary complexity.
In the longer term, Docket could evolve into a broader intelligent learning environment where students can manage their legal knowledge, understand complex cases, actively test their understanding, and prepare for exams from one place.
However, the core philosophy will remain the same:
AI should make learning easier — not make learning more complicated.
Docket — Turn complex legal cases into smarter study. ⚖️🧠
Built With
- actions
- api
- bcrypt
- cloudinary
- express.js
- gemini
- github
- javascript
- jwt
- mongodb
- mongoose
- node.js
- react
- rest
- vercel
- vite

Log in or sign up for Devpost to join the conversation.