Property Rental Management

This is a Property Rental Management application built with ASP.NET Core MVC. It allows users to manage properties, rentals, tenants, and more.

It is used as a POC for Santos Real Estate Holdings Inc. of NB, Canada.

Table of Contents

Getting Started

These instructions will help you set up and run the project on your local machine for development and testing purposes.

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/lsantos2000/Property-Rental-Management.git
    cd Property-Rental-Management
  2. Restore the dependencies:

    dotnet restore
  3. Update the database connection string in appsettings.json:

    "ConnectionStrings": {
        "DefaultConnection": "Server=your_server;Database=PropertyRentalDB;Trusted_Connection=True;MultipleActiveResultSets=true"
    }
  4. Apply the database migrations:

    dotnet ef database update

Running the Application

  1. Build the project:

    dotnet build
  2. Run the project:

    dotnet run
  3. Open your browser and navigate to https://localhost:5001.

Project Structure

  • Controllers/: Contains the MVC controllers like AccessController, ApartmentsController, etc.
  • Models/: Contains the data models like Rental, User, etc.
  • Views/: Contains the Razor views for the application.
  • wwwroot/: Contains static files like CSS, JavaScript, and images.
  • PropertyRentalDatabase/: Contains the database files.

Contributing

Contributions are not allowed at this time! Once allowed, you will need to please read the contributing guidelines first.

License

This project is licensed under the MIT License - see the LICENSE file for details.