SurakshaSanchay is a comprehensive hardware inventory management system designed to address the challenges faced by police departments in managing technological assets. This project aims to ensure that all technological assets, such as computers, communication devices, servers, and other equipment, are readily available, well-maintained, and up-to-date.
- Operational Efficiency: Improve the police department's operational readiness by ensuring the availability and functionality of hardware resources.
- Centralized Management: Provide a unified platform to manage inventory across multiple locations.
- Real-Time Insights: Enable accurate tracking, usage monitoring, and reporting for better decision-making.
- Cost Optimization: Minimize operational costs by improving asset utilization and reducing unnecessary purchases.
- Inefficient tracking of hardware assets across various locations.
- Solution: A centralized platform with real-time updates.
- Outdated or missing records due to manual processes.
- Solution: Automated data entry and regular audits.
- Resource misallocation and underutilization of assets.
- Solution: Dynamic allocation and utilization monitoring.
- Delayed maintenance and lifecycle tracking of hardware.
- Solution: Preventive maintenance schedules and lifecycle management.
- Non-compliance and security vulnerabilities.
- Solution: Regulatory tracking and secure asset management.
- Increased costs due to inefficiencies.
- Solution: Cost analysis and informed budgeting.
- Real-time inventory tracking with automated updates.
- Support for barcode scanning and RFID tracking.
- Detailed usage reports and audit logs.
- Visual data representation using ApexCharts.
- Scheduled maintenance notifications.
- Lifecycle tracking for timely hardware upgrades.
- Role-based access control for secure operations.
- User-friendly dashboard for quick navigation.
- Adherence to regulatory requirements.
- Security protocols to prevent unauthorized access.
- Next.js - Ensure Nextjs.js is installed.
- Database - Use Postgresql and prisma(ORM) for data storage.
- Package Manager - Use
npm
oryarn
to install dependencies.
- Clone the repository:
git clone https://github.com/BhoomiAgrawal12/SurakshaSanchay
cd SurakshaSanchay
npm install
DATABASE_URL=your_database_url AUTH_SECRET=your_secret_key GOOGLE_CLIENT_ID=your_client_id GOOGLE_CLIENT_SECRET=your_client_secret DOMAIN=your_website_url RESEND_API_KEY=your_email_resend_key
npm run dev
POST /api/auth/login - User login. POST /api/auth/register - User registration.
GET /api/inventory - Fetch all inventory items. POST /api/inventory - Add a new inventory item. PUT /api/inventory/:id - Update an inventory item. DELETE /api/inventory/:id - Delete an inventory item.
GET /api/reports - View reports. POST /api/reports - Generate a new report.
Framework: Next.js Styling: Tailwind CSS Data Visualization: ApexCharts
Database: Postgresql with Prisma Authentication: NextAuth.js
Platform: Vercel Storage: AWS S3 for file uploads
-
Fork the repository:
-
clone your forked repository git clone
-
Create a feature branch: git checkout -b feature/your-feature-name
-
Commit changes: git commit -m "Description of your changes"
-
Push the branch to your fork repo: git push origin feature/your-feature-name
-
Open a pull request to the main repository.
License The project is licensed under the MIT License.