https://github.com/user-attachments/assets/1bbb40b6-7c62-4acf-8dcc-1f6a8de0b4d1
frontend - https://github.com/DOodle25/DID-Frontend
backend - https://github.com/DOodle25/DID-Backend
used for temporory hosting frontend and backend before full release for testing
The District Integration Dashboard is a comprehensive web application that provides an all-in-one platform for managing and visualizing district-level data in a seamless and intuitive interface. Built using the React and powered by Python on the backend with Django, the dashboard is designed to serve administrative and government needs, offering a range of functionalities such as population management, scheme tracking, and city data aggregation. The integration of both frontend and backend technologies ensures a smooth, secure, and responsive user experience.
District Data Visualization: Visualize various district-level data like population demographics, public services (schools, hospitals, bus stations, etc.), and schemes. The dashboard uses React for a highly interactive user interface.
Data Management & Analytics: Manage critical data points for different cities and talukas within the district, including the number of schools, hospitals, police stations, etc. This data can be visualized through charts and tables for easier decision-making.
Secure Authentication: Implemented token-based authentication using JWT (JSON Web Tokens), ensuring secure access to the dashboard and its features.
User Roles & Permissions: Custom user authentication built using Django's authentication framework enables role management for different users, allowing access to sensitive data to be limited to authorized personnel only.
RESTful API: A robust backend API is developed using Django Rest Framework (DRF), making data easily accessible and modifiable through various HTTP requests (GET, POST, PUT, DELETE).
SQLite Database: Efficient and lightweight database integration using SQLite for storing critical information, including user data, population data, and scheme information.
Real-time Data Updates: The system allows for real-time updates to city and scheme data, ensuring that users always have the latest information at their fingertips.
React: The entire frontend is built using React, providing a fast and dynamic user experience. The app uses React Context API for managing global states across components.
JavaScript: JavaScript is heavily used throughout the frontend to implement interactive elements, such as population graphs, scheme tracking, and dynamic table generation.
Tailwind CSS: Tailwind CSS was used for rapid UI development, ensuring responsiveness across various screen sizes while maintaining a clean and modern look.
Django: The project uses Django as the primary backend framework to handle user requests, authentication, and business logic for managing district data.
Django Rest Framework: DRF enables seamless communication between the frontend and backend through RESTful APIs.
JWT Token Authentication: JWT is employed for secure user authentication, ensuring that only authorized users can access the sensitive data presented in the dashboard.
SQLite Database: The project stores all data in SQLite, an easy-to-use, zero-configuration database. This allows for fast querying and easy management of district and scheme data.
![Responsive Design]!(https://github.com/DOodle25/DID-django/blob/main/README-content/RESPONSIVE.png)
To get started with the District Integration Dashboard, follow these steps:
Navigate to the Frontend Directory:
First, switch to the frontend directory, which is named DIDFrontend
. Run the following command in your terminal:
cd DIDFrontend
Install Dependencies:
After navigating to the DIDFrontend
directory, install all the necessary dependencies by running:
npm install
Run the Development Server with Vite: To start the frontend development server using Vite, use the following command:
npm run dev
Access the Frontend:
Once the server starts, Vite will output a local development URL (e.g., http://localhost:3000
). Open the browser and navigate to that URL to view the frontend.
Navigate to the Backend Directory: Ensure you are in the backend folder (root of the Django project).
Install Dependencies: Make sure all the necessary dependencies are installed for the backend by running:
pip install -r requirements.txt
Run the Django Development Server:
Start the Django server on port 5000
by running:
python manage.py runserver 5000
Access the Backend:
The Django backend will now be available at http://localhost:5000
. You can use this to handle API requests and data operations from the frontend.
Ensure both the frontend (running via Vite) and the backend (Django) are running concurrently to have the full functionality of your District Integration Dashboard:
http://localhost:3000
(or the port Vite provides)http://localhost:5000
By utilizing the District Integration Dashboard, government agencies, municipal authorities, and other relevant stakeholders can effectively manage, track, and analyze district-level data with an intuitive, scalable, and secure platform.