This is a Next.js project bootstrapped with create-next-app.
LegalDeck is a secure, scalable online platform that connects users with verified lawyers. Users can book appointments, upload legal documents, chat securely, track case stages, and post reviews—all from a single app.
First, install dependencies and start the development server:
npm install
npm run dev
# or
yarn dev
# or
pnpm devOpen http://localhost:3000 in your browser to see the app in action.
- Frontend: Next.js 14 (App Router), Tailwind CSS.
- Backend: Node.js (API Routes), Mongoose (MongoDB ODM)
- Database: MongoDB
- Authentication: Google OAuth 2.0
- Payments: Razorpay Integration
- Communication: TalkJS for chat, Gmail API (email reminders), Google Calendar API (event scheduling)
- File Upload: Secure encrypted document handling
- Filter by expertise, location, pricing, availability
- Real-time calendar integration with Google Calendar API
- Razorpay-enabled appointment booking and payment
- End-to-end encrypted file uploads
- Case documents accessible only to assigned lawyers
- Optional e-signature support
- Secure chat via TalkJS
- Google Meet integration for video consultations
- Automated email & WhatsApp reminders
- Razorpay integration with multiple payment options (UPI, Cards, Net Banking)
- Escrow-style system—funds released post-consultation
- Real-time case updates, court dates, legal news
- Stage-wise progress updates by the lawyer
- Notifications via email and in-app alerts
- KYC system for lawyers (Aadhar, Bar ID, etc.)
- Verified badge display on lawyer profiles
- Public rating and review system for user transparency
| Component | Technology |
|---|---|
| Frontend | Next.js, Tailwind CSS |
| Backend | Node.js, API Routes |
| Database | MongoDB + Mongoose |
| Authentication | Google OAuth 2.0 |
| Payments | Razorpay API |
| Chat & Messaging | TalkJS |
| Email/Calendar APIs | Google APIs (Gmail, Calendar) |
| Deployment | Vercel / Google Cloud |
The fastest way to go live is using Vercel, the creators of Next.js.
Refer to the Next.js deployment guide for more details.
This is an open project aimed at making legal services accessible digitally. Contributions are welcome!