Skip to content

Repository files navigation

KMDA Express Project

The official digital platform for the Kolkata Metropolitan Development Authority (KMDA), built with Node.js, Express, and MongoDB.

🚀 Features

  • 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.

🛠️ Technology Stack

  • Backend: Node.js, Express.js
  • Database: MongoDB (Mongoose ODM)
  • Templating: EJS (Embedded JavaScript)
  • Styling: Vanilla CSS, Responsive Design

📋 Prerequisites

  • Node.js (v18 or higher)
  • MongoDB (v6.0 or higher)

⚙️ Installation

  1. Clone the repository (if applicable) or navigate to the project folder.

  2. Install dependencies:

    npm install
  3. Environment Setup: Create a .env file in the root directory (copy from .env.example if 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

🏃‍♂️ Running the Application

Development

Starts the server with hot-reloading (requires Node v18+ --watch or nodemon):

npm run dev

Access at: http://localhost:3001

Production

npm start

📚 Documentation

Detailed documentation is available in the KMDA_Project_KT_Document.md file located in the root directory.

🔑 CMS Access

To access the admin panel, navigate to /cms/login.

  • Default User: kmda_admin (or as configured in .env)
  • Default Password: (Check with system administrator)

🤝 Contribution

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📄 License

This project is proprietary to Webel Technology Limited / KMDA.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages