A full-stack Java EE web application for browsing, listing, and managing real estate properties — built as a Group 32 OOP project.
- Overview
- Features
- Tech Stack
- Project Structure
- Getting Started
- User Roles
- Key Modules
- Data Storage
- Screenshots
NESTIQ is a real estate web portal where users can register as Buyers or Sellers (or Admins) to browse property listings, book viewings, submit inquiries, write reviews, save favourites, and manage their own listings — all within a clean, dark/light mode responsive UI.
- User registration with role selection (Buyer / Seller / Admin)
- Secure admin registration via a unique licence key
- Session-based login/logout
- Add, update, and delete property listings (Sellers)
- Search and filter properties (Buyers)
- Mark properties as Sold
- Property types: House, Apartment, Villa
- Book property viewings (Buyers)
- Manage and update bookings
- Cancel or complete bookings
- Booking history and reports
- Submit inquiries on listings
- Threaded inquiry replies between Buyer and Seller
- Read/unread tracking per user
- Submit and manage reviews on properties
- Verified and public review types
- Admin moderation (delete reviews)
- Save and remove favourite properties
- Search saved properties (via Binary Search Tree)
- Sort saved listings
- Admin can post system-wide announcements
- Per-user read tracking
- Overview statistics: total users, buyers, sellers, admins, properties, market value
- User management (view, delete)
- Property management (view, delete)
- Review moderation
- Role management
- Dark / Light mode toggle
- Responsive design (mobile-friendly)
- Page transition animations
| Layer | Technology |
|---|---|
| Language | Java 8 |
| Web Framework | Java Servlets + JSP |
| Frontend | HTML, CSS, JavaScript (vanilla) |
| Build Tool | Apache Maven |
| Server | Apache Tomcat 7/8 (via SmartTomcat) |
| Templating | JSTL 1.2 |
| Data Storage | Flat files (.txt, .tsv) |
| IDE | IntelliJ IDEA |
src/
├── main/
│ ├── java/com/realestate/portal/
│ │ ├── controller/ # All Servlet controllers
│ │ │ ├── LoginServlet.java
│ │ │ ├── RegisterServlet.java
│ │ │ ├── PropertyServlet.java
│ │ │ ├── AdminDashboardServlet.java
│ │ │ ├── BuyerDashboardServlet.java
│ │ │ ├── SellerDashboardServlet.java
│ │ │ ├── BookPropertyServlet.java
│ │ │ ├── SearchServlet.java
│ │ │ ├── SearchSavedServlet.java # Uses BST for search
│ │ │ ├── ReviewServlet.java
│ │ │ ├── SubmitInquiryServlet.java
│ │ │ └── ... (30+ servlets)
│ │ ├── model/ # Domain model classes
│ │ │ ├── User.java
│ │ │ ├── Property.java
│ │ │ ├── Reservation.java
│ │ │ ├── Review.java
│ │ │ ├── InquiryThread.java
│ │ │ └── InquiryMessage.java
│ │ └── service/
│ │ └── LoginService.java
│ └── webapp/
│ ├── index.jsp # Landing / Registration / Login
│ ├── admin_dashboard.jsp
│ ├── buyer_dashboard.jsp
│ ├── seller_dashboard.jsp
│ ├── seller_home.jsp
│ ├── app.js # Main client-side logic
│ ├── page-transitions.js
│ ├── assets/images/ # Property type images
│ └── WEB-INF/
│ ├── web.xml
│ ├── announcements.jsp
│ └── *.txt / *.tsv # Flat-file data store
pom.xml
- Java 8 or higher
- Apache Maven 3.x
- Apache Tomcat 8.x (or use the bundled SmartTomcat IntelliJ plugin)
- IntelliJ IDEA (recommended)
-
Clone the repository
git clone https://github.com/IT25103795/Real-Estate-Property-Portal-G32.git cd OOP-PROJECT -
Build with Maven
mvn clean package
-
Deploy to Tomcat
- Copy the generated
target/RealEstatePortal_G32.warto your Tomcatwebapps/directory, or - Use the IntelliJ SmartTomcat plugin (pre-configured in
.smarttomcat/)
- Copy the generated
-
Access the app
http://localhost:8080/RealEstatePortal_G32
| Role | Access |
|---|---|
| Buyer | Browse listings, book viewings, save favourites, submit inquiries, write reviews |
| Seller | List/manage properties, view bookings, respond to inquiries |
| Admin | Full access — manage all users, properties, reviews, and announcements |
During sign-up, select the Admin role and enter the admin licence key when prompted.
SearchSavedServlet uses a custom BST (PropertyBST) to efficiently search through a user's saved properties by title or keyword.
SortSavedServlet provides sorting of saved listings by price, date, or other criteria.
Bookings flow through states: Pending → Confirmed → Completed / Cancelled, managed by dedicated servlets for each transition.
Inquiries are modelled as threads (InquiryThread) with individual messages (InquiryMessage), supporting back-and-forth conversations between buyer and seller.
This project uses flat-file persistence (no external database required):
| File | Contents |
|---|---|
users.txt |
Registered user accounts |
properties.txt |
Property listings |
bookings.txt |
Booking records |
reviews.txt |
User reviews |
favorites.txt |
Saved favourites per user |
inquiry_threads.tsv |
Inquiry thread metadata |
inquiry_messages.tsv |
Individual inquiry messages |
announcements.txt |
Admin announcements |
sold_properties.txt |
Archive of sold listings |
All data files are stored under src/main/webapp/WEB-INF/ and are not publicly accessible.
Group 32 — OOP Project, 2026