This project consists of a backend Rails application and a frontend application. Follow the steps below to set up and run both applications locally.
-
Open your terminal and navigate to the backend directory.
-
Run the Following Commands:
rails db:migrate
rails s
rails db:seed
The backend server should now be running on http://localhost:3000.
-
Navigate to frontend folder
-
Run the Following Commands:
pnpm install
pnpm run dev
(if you don't have pnpm in local set up use npm instead)
Open http://localhost:5173 in your browser. You should see two reservation cards displayed on the UI