Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/munadil16/primehaven
PrimeHaven - Short-term Rentals (Web App) built on PERN Stack (Final year project).
https://github.com/munadil16/primehaven
pern-stack real-estate-website
Last synced: about 2 months ago
JSON representation
PrimeHaven - Short-term Rentals (Web App) built on PERN Stack (Final year project).
- Host: GitHub
- URL: https://github.com/munadil16/primehaven
- Owner: Munadil16
- Created: 2024-01-30T12:30:58.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-05-23T06:49:20.000Z (7 months ago)
- Last Synced: 2024-05-23T07:46:57.681Z (7 months ago)
- Topics: pern-stack, real-estate-website
- Language: JavaScript
- Homepage:
- Size: 24.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## About the Project
PrimeHaven is a platform designed to facilitate seamless property transactions for users seeking to buy or sell properties such as houses, farmhouses, and flats. The primary objective behind the development of this project is to fulfill the requirements of my final year academics and to get the hands-on experience in the PERN Tech Stack.
## Built With
- [React JS](https://react.dev/)
- [Node.js](https://nodejs.org/en)
- [Express](https://expressjs.com/)
- [PostgreSQL](https://www.postgresql.org/)## Getting Started
To get a local copy up and running, please follow these simple steps.
### Prerequisites
- Node.js
- PostgreSQL
- npm### Setup
1. Clone the repo into remote desktop \
`git clone https://github.com/Munadil16/PrimeHaven.git`2. Go to Project folder \
`cd PrimeHaven`3. Install packages \
`npm install` \
`bun install` \
`yarn install`
> Install pkgs. in both Client and Server4. Set up the .env files from the `.env.sample` file
5. Start the Server \
`npm run start`
6. To run client \
`npm run dev`## Queries for Database
> [!IMPORTANT]
> Execute the following Queries in PostgreSQL DB### Tables Required
1. CREATE TABLE users(id integer, email varchar(40), username varchar(20), password varchar);
2. CREATE TABLE properties(id int, owner varchar(15), propImage varchar, propertyType varchar(10), state varchar(25), price int, title varchar(50), description varchar);
3. CREATE TABLE sold_properties(id int, owner varchar(15), propimage varchar, propertytype varchar(10), state varchar(25), price int, title varchar(50), description varchar, sold_to varchar(20));> [!WARNING]
> Please note that currently there are no properties available for display. Kindly utilize the 'Sell Property Page' to add properties of your own for a better understanding."