InnSite is a fantasy-themed Airbnb clone where adventurers can browse, book, and review mystical inns (or taverns).
- 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.
Ensure you have the following installed:
- Node.js (v18 or higher)
- npm (v9 or higher)
- PostgreSQL (v16 or higher)
- Clone the Repository
git clone https://github.com/aileks/InnSite.git
- Install Dependencies
cd InnSite && npm install
- 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
- Run Migrations & Seeders
npx dotenv sequelize-cli db:migrate
npx dotenv sequelize-cli db:seed:all
- Start the Backend Server
cd backend && npm start
- Start the Frontend Server
cd frontend && npm run dev
- Visit
http://localhost:5173/
in your browser