Git Product home page Git Product logo

hommz's Introduction

MIT License MongoDB ExpressJs React Node.js JavaScript

Screenshot 1 Screenshot 2

Hommz

Hommz is a comprehensive full stack web application designed to seamlessly connect landlords with potential tenants, serving as a modern solution akin to an Airbnb clone. The platform simplifies the rental process by offering an intuitive interface for landlords to list their properties and for tenants to search and book accommodations.

Hommz aims to enhance the rental experience for both parties. Whether you're a landlord looking to fill vacancies or a tenant in search of your next home, Hommz bridges the gap, making the rental process efficient and hassle-free.

Features

  • Responsive design
  • User authentication
  • User authorization
  • Property Listings
  • Booking and Reservations
  • Dynamic Pricing

Tech Stack

Client: React, Node, JavaScript

Server: Node, Express, JavaScript, MongoDB, Cloudinary, Multer

Deployment: Netlify, Render

Installation

Clone the repository

  git clone https://github.com/Saddickq/Hommz.git

Navigate into the project directory

  cd Hommz

Install backend dependencies

  cd server
  npm install

Install frontend dependencies

  cd ../client
  npm install

Start the backend server

  cd ../server
  npm start

Start the frontend development server

  cd ../client
  npm start

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

DB_URL SECRET PORT NODE_ENV cloud_name api_key api_secret

API References

Register

  POST /auth/register
Parameter Type Description
email string Required. Your email
name string Required. Your name
password string Required. Your password

Login

  GET /auth/login
Parameter Type Description
email string Required. Your email
password string Required. Your password

Logout

  GET /auth/logout

Create place

  POST /new_place
Parameter Type Description
title string Required. Title of the place
description string Required. Description of the place
address string Required. Address of the place
price number Required. Price per night
photos [string] Required. Array of photo URLs
owner string Required. User ID of the owner
extraInfo string Optional. Additional information about the place

Get user Places

  GET /user_places

Get all available Places

  GET /places

Get Place

  GET /places/:id
Parameter Type Description
id string Required. Id of place to fetch

Update Place

  PUT /places/:id
Parameter Type Description
title string Required. Title of the place
description string Required. Description of the place
address string Required. Address of the place
price number Required. Price per night
photos [string] Required. Array of photo URLs
extraInfo string Optional. Additional information about the place

Delete Place

  DELETE /places/:id
Parameter Type Description
id string Required. Id of place to fetch

Create Booking

  POST /bookings
Parameter Type Description
checkIn string Required. Time to check In
checkOut string Required. Time to check Out
name string Required. Name of person booking
price number Required. Price per night
phone string Required. phone number of the person booking
place string Required. Id of the place being booked
user string Required. Owner of the place

Get Bookings

  GET /bookings

Delete Bookings

  DELETE /bookings/:id

Authors

hommz's People

Contributors

saddickq avatar

Stargazers

BlackGenius avatar

Watchers

Lucian avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.