- π Table of Contents
- π MARRIOT HOTEL RESERVATIONS APP
- Before Starting the Project
- After Implementing the Project
MARRIOT HOTEL RESERVATIONS APP is an app that allows users to book a room in a marriot hotel. Users can see a list of available rooms, and can book a room for a specific date range. Users can also see their reservations and delete them.
Editor
Backend
Database
Testing
API Documentation
- Users can register and log in
- Users must be logged-in to use the app
- Users can see a home page with the available rooms
- Users can book a room
- When the user selects a specific room, a details page with its full description is shown
- In the details page, the user can book a room with the "Reserve" button
- When the user clicks "Add Room" in the navigation panel, a form for adding a new room is displayed
- Users can see their reservations
- Users can delete a rooom
We Used Kanban Board to organize our work and we are a group of 4 peoples
In order to run this project you need:
- A code editor of your preference, for example VSCODE or Atom
- Ruby 3.1.2
- Rails 7.0.4 or newer
- GIT
- YARN or - NPM
- PostgreSQL
Clone this repositories to your desired folder:
## Backend
git clone https://github.com/Miliyonayalew/Marriott-Reservation-Backend
## Frontend
git clone https://github.com/OscarFMdev/Marriott-Reservation-Frontend
cd ./Marriott-Reservation-Backend
Install the gems and dependencies:
bundle install
Make sure you can connect to postgresql and create the database:
rails db:create
rails db:migrate
rails db:seed
And delete the credential and master key inside the config folder
then generate new one with the following command
`EDITOR="code --wait" bin/rails credentials:edit`
Then run the following command to start the server
rails s
cd ./Marriott-Reservation-Frontend
If the user doesn't have yarn, install it:
npm install --global yarn
Install the gems and dependencies:
yarn install
To run the Backend, execute the following command:
rails server
To run the Frontend, execute the following command:
yarn dev
To run tests in the Backend, run the following command:
rspec
To run tests in the Frontend, run the following command:
yarn test
Danys Linares
- GitHub:@githubhandle
- Twitter:@twitterhandle
- LinkedIn:LinkedIn
Oscar Fernandez
- GitHub:@githubhandle
- Twitter:@twitterhandle
- LinkedIn:LinkedIn
Miliyon Ayalew
- GitHub:@githubhandle
- Twitter:@twitterhandle
- LinkedIn:LinkedIn
Hans Zizold
- GitHub:@githubhandle
- Twitter:@twitterhandle
- LinkedIn:LinkedIn
- Only admin users can add and delete rooms
- Add availability of rooms
- Add a search bar to search for rooms
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a βοΈ if you like this project!
- My loving family π
- My partners from Microverse
- Inspiration, Dedication
Original design idea by Murat Korkmaz, under Creative Commons License.
This project is MIT licensed.