- π About the Project
- π» Getting Started
- π₯ Authors
- π Future Features
- π€ Contributing
- βοΈ Show your support
- π Acknowledgements
- β FAQ
- π License
Hotelator is a web service built with React & Redux, PostgreSQL and Ruby on Rails that allows users to Sign in/up, reserve hotel packages, check for the reservations the have made, create hotels based on cities, store images, delete hotels or just cancel reservations. All users actions/request are made by using JWT authentication in order to have the permissions to retrieve the required data per user.
Client-side repository Hotel-Booking-Frontend
- Ruby on Rails
- Ruby
- Bubocop
- Gems
- Rspec
- Capybara
- Selenium-webdriver
- Bcrypt
- JWT
- Devise
Client
- React
- Redux
- Tailwind
- CSS3
Server
- Ruby on Rails
Database
- [Create and run necessary migration files]
- [Match table and column names to the ERD diagram.]
The end result should follow the following data model (this is an Entity Relationship Diagram that you are already familiar with):
Note this is for information purpose, however if you go to this link you wont be able to see a content, since it is API only(It will retrieve json responses)
- Set up the repository/repositories on GitHub and use Gitflow.
- Set up Postgres for the database
- Create controllers, endpoints and models
- Use Rails to create API.
- Use React & Redux to create frontend UI.
- Create README
To get a local copy up and running, follow these steps.
- Run the command bellow first in your terminal in a different folder and open the file using cd if needed.
git clone https://github.com/angeluray/hotel-booking-frontend.git
In order to run this project you need:
Git
and Ruby
gem install rails
Install this project with:
Run the command bellow first and open the file using cd if needed.
git clone git@github.com:angeluray/hotel-booking-backend.git
bundle install
Create and migrate the database
rails db:create
rails db:migrate
rails db:seed
To run the project, execute the following command:
rails server or rails s
- [Controllers, and Models specs]
- [Improve overrall style and perfomance of the application]
- [Admin role to allow only admins to Add hotels]
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a βοΈ if you like this project!
- We want to say thank you to Murat Korkmaz on Behance the creator of this beautiful design that we used as a guide to build our project.
-
Can i use this project as mine?
- This project is for educational purposes and it belongs to its creators, however you can clone it and use it a guide for creating yours as part of an educational project.
-
This project is availabe to do actual reservations?
- No, however it works almost the same, and you could use it in the future for creating your own app.
This project is MIT licensed.