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!