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.
- Getting Started
- Prerequisites
- Installation
- Running the Application
- Project Structure
- Contributing
- License
These instructions will help you set up and run the project on your local machine for development and testing purposes.
-
Clone the repository:
git clone https://github.com/lsantos2000/Property-Rental-Management.git cd Property-Rental-Management
-
Restore the dependencies:
dotnet restore
-
Update the database connection string in
appsettings.json
:"ConnectionStrings": { "DefaultConnection": "Server=your_server;Database=PropertyRentalDB;Trusted_Connection=True;MultipleActiveResultSets=true" }
-
Apply the database migrations:
dotnet ef database update
-
Build the project:
dotnet build
-
Run the project:
dotnet run
-
Open your browser and navigate to
https://localhost:5001
.
- 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.
Contributions are not allowed at this time! Once allowed, you will need to please read the contributing guidelines first.
This project is licensed under the MIT License - see the LICENSE file for details.