The Property Management website is designed to provide the facility to a user to buy or sell/rent his properties such as apartments and rooms also to add and apply for projects.
- Step 1. You can directly download the zip file or follow next 2 steps to clone the repo. Install latest version of git. Open the above github repository link in browser. Click on the code button as shown in the figure and copy the marked https url (shown in the figure).
- Step 2. Create new folder and open git bash inside that folder write command-
git clone https://github.com/anjali7786/Property-Management.git
-
Step 3.
- Install latest version of python and a code editor (Pycharm or Visual Studio Code).
- Download & Install MYSQLCLIENT For Python : https://www.lfd.uci.edu/~gohlke/pythonlibs/#mysqlclient open this link and under MySQLclient select the wheel according to your python version and 32/64 bit windows system.
- After installing the wheel Open command prompt inside that folder. To open a command prompt window in any folder, simply hold down the Shift key and right-click on the desktop. In the context menu, you will see the option to Open command window here. Clicking on it will open a CMD window.
- And write the below command in cmd.
-
Step 4. Create a local host connection and click on Server Tab then select Data Import. You can see that there are two options import from self-contained file and import from dump project folder choose the option import from self-contained file and browse to the location where the property_management.sql file is present and click on start import which is on the bottom right of this window. Then go to the schemas tab and click on refresh to see the new database named property_management added. The database setup is completed.
-
Step 5. Open the project files in the code editor. Open
main.py
file and if your MySQL username and password are not root then you can replace the username and password written inmain.py
file with your MySQL username and password. -
Step 6. Installing Packages
For Visual Studio Code do the following:
- Open New Terminal
- And now run the following commands in the terminal:
python -m venv env Set-ExecutionPolicy Unrestricted -Scope Process env\scripts\activate pip install flask $env:FLASK_APP = "main" pip install bcrypt pip install flask_mysqldb pip install flask_mail flask run
- Or run
requirements.txt
file :
pip install -r requirements.txt
For Pycharm code editor do the following:
- Open the terminal
- And run the following commands:
pip install flask pip install bcrypt pip install flask_mysqldb pip install flask_mail
- Or run
requirements.txt
file :
pip install -r requirements.txt
- Now run the main.py file and click on the localhost link of the project or go to http://127.0.0.1:5000/ to see the project.
- Homepage
- Login page
- Sign Up page
- Apartment Registeration
- Own Property Details page for Projects, similar pages are for apartments and rooms also.
- Members page: user can see other registered users.
- Save Apartment page, similar pages are there for rooms and projects also. User can view their saved properties.
- Applied Rooms page,similar pages are there for rooms and projects also. User can view all the properties they have applied.
- Apply project form,similar pages are there for rooms and projects also. The name shown in the form is fetched from the database.
- Book A Meet form,similar pages are there for rooms and projects also. The readonly filled details shown in the form are fetched from the database.
- Complaints Form,similar pages are there for apartments and projects also. User can register complaints for properties.
- Friends Applied property page, similar pages are there for other type of properties. User can view the properties applied by their friends.
- Meet Requested to owner Page for properties.
- Accept Meet form, similar pages are there for other type of properties also. The enteries shown are fetched from the database and are readonly.
-
Approve Property page, owner can approve the applicantions.
-
Approved Properties page for applicants showing that their application for applying that property has been approved and now they can provide rating also.
- Rating Form, similar pages are there for other type of properties also.
- Admin Dashboard Page, admin can view all the links for other pages,his details,, all the notifications, number of complaints registered, number of users registered, numbers of apartments, rooms and projects registered. All these details are fetched from the database.
- Registered Users
- Property Details page for admin, similar pages are there for other type of properties also.
- Edit details form for property, similar pages are there for other type of properties also. The enteries shown in the form are fetched from the database.
- Complaints Details for properties page for admin
- User Dashboard page, user can view all the links for other pages,his details,, all the notifications, numbers of apartments, rooms and projects registered by them. All these details are fetched from the database.
- Contact Us Form Page
- Contact Us messages to admin page
- Mail sent to user
- Mail sent to admin