This project is a house rental system/rental platform developed using Python/Django and Vue, created as a course project for this semester. We welcome valuable suggestions from everyone. This is a front-end and back-end separated project, requiring students to learn Spring Boot technology and Vue technology.
Function Introduction
The platform adopts a B/S structure, with the back-end developed using mainstream Python+Django and the front-end developed using mainstream Vue.js.
The entire platform consists of two parts: the front-end and the back-end.
The front-end features include: Home, House Details Page, User Center Module.
The back-end features include: Overview, House Management, Category Management, Tag Management, Comment Management, User Management, Operation Management, Log Management, System Information Module.
Source Code Address
https://www.gitapp.cn/source/python-zf.html
Code Structure
The server directory contains the back-end code.
The web directory contains the front-end code.
Running Steps
Back-end Running Steps
(1) Install Python 3.8
(2) Install dependencies. Navigate to the server directory and execute pip install -r requirements.txt.
(3) Install MySQL 5.7 database, create a database, and execute the following SQL:
CREATE DATABASE IF NOT EXISTS xxx DEFAULT CHARSET utf8 COLLATE utf8_general_ci
(4) Restore xxx.sql data. Execute the following commands in MySQL:
mysql> use xxx;mysql> source D:/xxx/xxx/xxx.sql;
(5) Start the Django service. Execute the following in the server directory:
python manage.py runserver
Front-end Running Steps
(1) Install Node 16.14
(2) Navigate to the web directory, install dependencies, and execute:
npm install
(3) Run the project
npm run serve
Interface Preview
