Skip to content

devsharmagit/airbnb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Airbnb - Booking Web app

Hey! I started this project from a YouTube video on how to make a simple crud app using the MERN stack. I added a lot of features after that. Youtube video

Some Cool features are:

  • User authentication.
  • Infinite Scroll and complex query.
  • Third party services for image storage (cloudinary)
  • Map view where you can see the nearby available places of yours.
  • Booking the place.
  • Typescript is used for better type safety.

Installation

Without Docker

To Start the Backend

cd ./api
npm install
mv .env.sample .env
npx tsc -b 
node dist/index.js

To start the frontend

cd ./client
npm install

mv .env.sample .env
npm run dev

With Docker

make sure docker is up and running
docker compose up

Contributing

Interested in contributing to this project? That's awesome! Here are a few issues you can help with:

  • User Logout on Refresh: Resolve the issue where users are logged out upon refreshing the website.
  • TypeScript Enhancements: Improve TypeScript usage by eliminating the use of any.
  • React Query Integration: Implement React Query for efficient data caching.
  • Custom API Class: Develop a custom API class to handle responses and errors more effectively.
  • Cron Job for Bookings: Create a cron job to automatically set the "active" field to false on booking documents.
  • User-Friendly Place Filter: Make the place filter more intuitive and human-readable.
  • Place Analytics: Add analytics features to track and display data on places.
  • Booking Requests: Implement a feature where users receive notifications if someone wants to book a place.

Before submitting a pull request, please ensure that proper linting is done to maintain code quality.

Feel free to fork the repository, and if you like the project, don't forget to give it a star!

About

Booking web app using MERN Stack and typescript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages