https://github.com/vero-code/house-search
https://github.com/vero-code/house-search
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/vero-code/house-search
- Owner: vero-code
- Created: 2024-07-28T12:23:19.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-07-29T17:03:59.000Z (over 1 year ago)
- Last Synced: 2025-04-03T20:33:25.365Z (12 months ago)
- Language: PHP
- Size: 136 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# House Search Application
This project is a web application that allows users to search for houses based on various criteria. The data for this project is sourced from a CSV file, and the data is migrated and seeded into a database.
|  |  |
|:----------------------------------------:|:-------------------------------------------:|
| Search Form | Search Results |
## Technologies
### Backend:
PHP >= 8.2, Laravel v11, MySQL, Composer v2.5.8, Node.js & npm
### Frontend:
Vue.js, HTML, CSS, Element-Plus, Vite, Blade
### Tools:
Git, PHPStorm, Postman
## Functions
1. API for data search: Provides the ability to search for house data based on various criteria such as name, number of bedrooms, bathrooms, storeys, garages, and price range.
2. Migrations and seeders: Migrations create the database structure, and seeders populate the database with initial data from the CSV file.
3. Search form on the frontend: Implements the interface for entering search criteria and displays the search results.
4. AJAX requests to the API: Performs asynchronous requests to the API to search for data and displays the results on the frontend.
5. Loading indicator: Displays a loading indicator while the search is being performed.
## Usage
1. Open your browser and navigate to http://127.0.0.1:8000/.
2. Use the search form to find houses based on different criteria.
3. Results will be displayed in a table below the form.
... or using Postman send GET-request to http://127.0.0.1:8000/api/houses?name=Emerald&bedrooms=3.
## License
This project is licensed under the MIT License.