The official digital platform for the Kolkata Metropolitan Development Authority (KMDA), built with Node.js, Express, and MongoDB.
- Public Portal: comprehensive information on projects, tenders, news, facts, and events.
- CMS (Content Management System): Secure admin panel for managing all site content.
- Dynamic Content: Manage banners, galleries, and page content directly from the CMS.
- Citizen Services: Grievance redressal system, LUDCP (Land Use) lookup, and more.
- Security: Implements Helmet, rate limiting, secure sessions, and input sanitization.
- Backend: Node.js, Express.js
- Database: MongoDB (Mongoose ODM)
- Templating: EJS (Embedded JavaScript)
- Styling: Vanilla CSS, Responsive Design
- Node.js (v18 or higher)
- MongoDB (v6.0 or higher)
-
Clone the repository (if applicable) or navigate to the project folder.
-
Install dependencies:
npm install
-
Environment Setup: Create a
.envfile in the root directory (copy from.env.exampleif available, or set the following):NODE_ENV=development PORT=3001 MONGODB_URI=mongodb://localhost:27017/kmda_database SESSION_SECRET=your_secret_key COOKIE_SECRET=your_cookie_secret CMS_USERNAME=admin CMS_PASSWORD_HASH=... # bcrypt hash
Starts the server with hot-reloading (requires Node v18+ --watch or nodemon):
npm run devAccess at: http://localhost:3001
npm startDetailed documentation is available in the KMDA_Project_KT_Document.md file located in the root directory.
To access the admin panel, navigate to /cms/login.
- Default User:
kmda_admin(or as configured in.env) - Default Password: (Check with system administrator)
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is proprietary to Webel Technology Limited / KMDA.