Provincial Justice is a web application designed to provide users with easy access to Indian laws.
It offers a powerful search system, enabling users to explore criminal laws and their respective provinces quickly and efficiently.
- 🔍 Search Functionality: Find laws instantly using keywords.
- 📑 Organized Categories: Access criminal laws with province-specific details.
- 📱 Responsive Design: Optimized for both desktop and mobile.
- 🧭 User-Friendly Interface: Clean, minimal, and easy to navigate.
Frontend
- Next.js (latest version)
- TypeScript
- Tailwind CSS
Backend
- Node.js
Database
- MongoDB (Atlas + Compass for management)
git clone https://github.com/Anujsinghdevx/ProvincialJusticecd provincial-justicenpm install- Set up a MongoDB Atlas cluster.
- Create a database named data.
- Add your collection named laws.
- Store your connection string in
.env.
npm run devhttp://localhost:3000
provincial-justice/
├── public/ # Static assets
├── src/
│ ├── app/ # Application pages
│ │ ├── about/ # About page
│ │ ├── api/ # API routes
│ │ ├── contact/ # Contact page
│ │ ├── privacy/ # Privacy policy page
│ │ ├── support/ # Support page
│ │ ├── globals.css # Global styles
│ │ ├── layout.tsx # Layout component
│ │ └── page.tsx # Main page
│ ├── components/ # Reusable UI components
│ │ ├── Footer.tsx
│ │ └── Navbar.tsx
│ └── lib/
│ └── dbConnect.ts # MongoDB connection utility
├── .env # Environment variables
├── package.json # Dependencies and scripts
├── next.config.ts # Next.js configuration
├── tailwind.config.js # Tailwind CSS configuration
└── tsconfig.json # TypeScript configuration
- 🔑 User authentication for personalized experiences.
- 📚 Expand coverage beyond criminal laws to civil & constitutional laws.
- 🗂️ Province/category filters for advanced search.
- 📊 Analytics dashboard to track user interactions.
Contributions are welcome!
- Fork the repo
- Create a new branch:
git checkout -b feature-name
- Commit your changes:
git commit -m "Add feature-name" - Push to your branch:
git push origin feature-name
- Open a pull request 🚀
- GitHub: Anuj-0-3
- Portfolio: anuj-delta.vercel.app
⭐ If you found this project useful, don’t forget to star the repo!