DormX is a simple web application for buying and selling, specifically designed for students residing in the university dormitory area. The platform enables students to easily exchange their used or unnecessary items and inquire about products within a specified price range. In both buying and selling scenarios, users can submit competitive bids. Subsequently, the product owner can access the bidder's contact information to facilitate the completion of the transaction. Our primary focus is on efficiently and effectively implementing a Relational Database Management System (RDBMS) in a real-life scenario. We have established relationships between entities and normalized our database to cater to the requirements, ensuring its seamless functionality in various CRUD (Create, Read, Update, Delete) operations.
- Ayub Ali Emon, Student ID: 202001051911, Email: aaemon98@163.com
- Phonesamay Phoutthavong, Student ID: 202001061406, Email: phphonesamay@gmail.com
Students of Software Engineering 2020(International Students)
- Dr. QianQian Li, Email: sdnuliqian@163.com, Computer Science and Information Department
Shandong Univerity of Science and Technology
- Python 3.12.1
- Python's Flask as Backend
- Bootstrap 5 for frontend
- MySQL as Database
- Install the necessary packages from
requirements.txt
or install them manually one by one.
pip install -r requirements.txt
-
Set up your MySQL database.
First, create the database, then import
dormx_db.sql
if you want only tables. But if you want tables along with sample data, importdormx_data.sql
Or you can manually create the tables and modify them as you need. Here is the database relationship structure. -
Modify your database information in
src/__init__.py
file. Change SECRET_KEY, DB_NAME, DB_USERNAME, DB_PASSWORD -
Then you can run the
run.py
file to start the server. Debug mode is set to true, set to false if you don't need it.
- Homepage
- Login
- Registration
- Add Product
- My Products
- Update Product
- Update Profile
- Product Page
- Product Page (Product Owner View)
- Search