A simple Airbnb clone built with Ruby on Rails 8.0.1, PostgreSQL, and Tailwind CSS.
- User authentication (signup, login, logout)
- Property listings
- Property search by location and price
- Booking system
- Review system
- Image uploads for properties and user avatars
- Ruby 3.2.2
- PostgreSQL
- Node.js and Yarn (for Tailwind CSS)
-
Clone the repository:
git clone https://github.com/your-username/booked.git cd booked -
Install dependencies:
bundle install -
Create and setup the database:
rails db:create db:migrate -
Start the Rails server:
bin/dev -
Open your browser and navigate to:
http://localhost:3000
Run the test suite:
rails test
This project is a great way to learn Ruby and Ruby on Rails. Here are some useful resources:
- Official Ruby Website
- Ruby Documentation
- Ruby on Rails Guides
- Ruby on Rails API
- The Odin Project - Free web development curriculum that includes Ruby and Rails
- Users: Store user information and credentials
- Properties: Store information about properties available for booking
- Bookings: Store booking information
- Reviews: Store reviews for properties
This project is open source and available under the MIT License.