aileks / InnSite

AirBnB Clone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

InnSite - There Be Dragons

InnSite is a fantasy-themed Airbnb clone where adventurers can browse, book, and review mystical inns (or taverns).

InnSite Showcase

Technologies Used

  • Frontend: React for building dynamic user interfaces.
  • State Management: Redux for managing the application's state.
  • Backend: Express.js for handling server-side logic and API requests.
  • ORM: Sequelize for managing database interactions..
  • Database: PostgreSQL for production and SQLite for development.

Local Development

Prerequisites

Ensure you have the following installed:

  • Node.js (v18 or higher)
  • npm (v9 or higher)
  • PostgreSQL (v16 or higher)
  1. Clone the Repository
git clone https://github.com/aileks/InnSite.git
  1. Install Dependencies
cd InnSite && npm install
  1. Set Up the Database
  • The local DB will be SQLite.
  • Copy .env.example to .env and update it with your own credentials:
cd backend && cp .env.example .env
  1. Run Migrations & Seeders
npx dotenv sequelize-cli db:migrate
npx dotenv sequelize-cli db:seed:all

Running the Application

  1. Start the Backend Server
cd backend && npm start
  1. Start the Frontend Server
cd frontend && npm run dev
  1. Visit http://localhost:5173/ in your browser

About

AirBnB Clone


Languages

Language:JavaScript 87.2%Language:CSS 12.6%Language:HTML 0.2%