Hotelzilla-api

所属分类:PostgreSQL
开发工具:Ruby
文件大小:70KB
下载次数:0
上传日期:2022-05-19 16:00:38
上 传 者sh-1993
说明:  酒店预订应用程序的后端API。它为用户提供了酒店、城市房间类型的端点,以允许使用...
(The back-end API for a hotel reservation app. It has endpoints for users / hotels / cities / rooms types to allow users to do auth users, CRUD hotels, make reservations.)

文件列表:
Hotelzilla-api-dev (0, 2022-05-18)
Hotelzilla-api-dev\.rspec (22, 2022-05-18)
Hotelzilla-api-dev\.rubocop.yml (1150, 2022-05-18)
Hotelzilla-api-dev\.ruby-version (11, 2022-05-18)
Hotelzilla-api-dev\Gemfile (1798, 2022-05-18)
Hotelzilla-api-dev\Gemfile.lock (6150, 2022-05-18)
Hotelzilla-api-dev\MIT.md (1177, 2022-05-18)
Hotelzilla-api-dev\Rakefile (227, 2022-05-18)
Hotelzilla-api-dev\app (0, 2022-05-18)
Hotelzilla-api-dev\app\channels (0, 2022-05-18)
Hotelzilla-api-dev\app\channels\application_cable (0, 2022-05-18)
Hotelzilla-api-dev\app\channels\application_cable\channel.rb (79, 2022-05-18)
Hotelzilla-api-dev\app\channels\application_cable\connection.rb (85, 2022-05-18)
Hotelzilla-api-dev\app\controllers (0, 2022-05-18)
Hotelzilla-api-dev\app\controllers\api (0, 2022-05-18)
Hotelzilla-api-dev\app\controllers\api\cities_controller.rb (190, 2022-05-18)
Hotelzilla-api-dev\app\controllers\api\hotels_controller.rb (1189, 2022-05-18)
Hotelzilla-api-dev\app\controllers\api\reservations_controller.rb (654, 2022-05-18)
Hotelzilla-api-dev\app\controllers\api\room_types_controller.rb (159, 2022-05-18)
Hotelzilla-api-dev\app\controllers\application_controller.rb (332, 2022-05-18)
Hotelzilla-api-dev\app\controllers\authentication_controller.rb (475, 2022-05-18)
Hotelzilla-api-dev\app\controllers\concerns (0, 2022-05-18)
Hotelzilla-api-dev\app\controllers\concerns\.keep (0, 2022-05-18)
Hotelzilla-api-dev\app\controllers\concerns\json_web_token.rb (360, 2022-05-18)
Hotelzilla-api-dev\app\controllers\users_controller.rb (947, 2022-05-18)
Hotelzilla-api-dev\app\jobs (0, 2022-05-18)
Hotelzilla-api-dev\app\jobs\application_job.rb (269, 2022-05-18)
Hotelzilla-api-dev\app\mailers (0, 2022-05-18)
Hotelzilla-api-dev\app\mailers\application_mailer.rb (102, 2022-05-18)
Hotelzilla-api-dev\app\models (0, 2022-05-18)
Hotelzilla-api-dev\app\models\application_record.rb (74, 2022-05-18)
Hotelzilla-api-dev\app\models\city.rb (75, 2022-05-18)
Hotelzilla-api-dev\app\models\concerns (0, 2022-05-18)
... ...

# Hotelzilla-api > This is the back-end API for a hotel reservation app and here is the [Front project link](https://github.com/Anjacodes/Hotelzilla-UI). > It has endpoints for users / hotels / cities / rooms types to allow users to do - See all featured hotel rooms from the app's own external API - See a detailed view of each room - Sign up and sign in - If the user is logged in they can reserve a room - If the user is logged in they can see a list of all their reservations - If the user is an admin they can add or delete hotel rooms ## Built With - Ruby - Ruby on Rails - OOP - SQL Postgres ## Getting Started To get a local copy up and running follow these simple example steps. - Click on the top right green "code" button. - On the dropdown menu, choose "download with zip" button. - After download, extract the zip file and you have the project on your machine. - Make sure that your PostgreSQL server is running and you have the ability to establish connection with the database. - Execute `rails db:create` to create the database. - Execute `rails db:migrate` to migrate the database. - Execute `rails db:seed` to add default data to the database. - Run `rails s` to run the application. ## Tests - If you want to run some unit tests, all you need to do is: - On your terminal execute: `gem install rspec` - Run the `rspec` command in this case over the path of `spec/`, the resulting command will look like this: `rspec spec/`. - If you want to run the tests over the entire project, you can execute the following command: `rspec` ## Deployment [App Link](https://hotelzilla-api.herokuapp.com) [API Documentation Link](https://hotelzilla-api.herokuapp.com/api-docs/index.html) ## Authors ‘¤ **Kerolous Samy** - GitHub: [Kerolous Samy](https://github.com/keroloussamy) - Twitter: [Kerolous Samy](https://twitter.com/kerolous_samy) - LinkedIn: [Kerolous Samy](https://www.linkedin.com/in/keroloussamy) ‘¤ **Khusiima Luke Masaba** - GitHub: [@Lucas-Masaba](https://github.com/Lucas-Masaba) - Twitter: [@MasabaLuke](https://twitter.com/MasabaLuke) - LinkedIn: [Khusiima Luke Masaba](https://linkedin.com/in/khusiima-luke-masaba) ## ¤ Contributing Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](../../issues/). ## Show your support Give a if you like this project! ## “ License This project is [MIT](./MIT.md) licensed.

近期下载者

相关文件


收藏者