sleepover-API

所属分类:PostgreSQL
开发工具:Ruby
文件大小:59KB
下载次数:0
上传日期:2023-02-06 06:24:38
上 传 者sh-1993
说明:  这是一个用Ruby on Rails和Postgres构建的API。这是一款酒店客房预订应用程序,它使酒店业主能够...
(This is an API built with Ruby on Rails, and Postgres. It is a hotel room reservation app, it enables hotel owners to register their hotel and available rooms, and see the reservations done by customers. The customer also books a hotel room from all over the world.)

文件列表:
.rspec (22, 2023-02-06)
.rubocop.yml (1181, 2023-02-06)
.ruby-version (11, 2023-02-06)
Gemfile (1895, 2023-02-06)
Gemfile.lock (6467, 2023-02-06)
LICENSE (1062, 2023-02-06)
Rakefile (227, 2023-02-06)
app (0, 2023-02-06)
app\channels (0, 2023-02-06)
app\channels\application_cable (0, 2023-02-06)
app\channels\application_cable\channel.rb (79, 2023-02-06)
app\channels\application_cable\connection.rb (85, 2023-02-06)
app\controllers (0, 2023-02-06)
app\controllers\api (0, 2023-02-06)
app\controllers\api\v1 (0, 2023-02-06)
app\controllers\api\v1\hotels_controller.rb (1028, 2023-02-06)
app\controllers\api\v1\reservations_controller.rb (1565, 2023-02-06)
app\controllers\api\v1\rooms_controller.rb (1487, 2023-02-06)
app\controllers\api\v1\users_controller.rb (1087, 2023-02-06)
app\controllers\application_controller.rb (641, 2023-02-06)
app\controllers\authentication_controller.rb (454, 2023-02-06)
app\controllers\concerns (0, 2023-02-06)
app\controllers\concerns\.keep (0, 2023-02-06)
app\controllers\concerns\json_web_token.rb (361, 2023-02-06)
app\jobs (0, 2023-02-06)
app\jobs\application_job.rb (269, 2023-02-06)
app\mailers (0, 2023-02-06)
app\mailers\application_mailer.rb (102, 2023-02-06)
app\models (0, 2023-02-06)
app\models\ability.rb (1107, 2023-02-06)
app\models\application_record.rb (74, 2023-02-06)
app\models\concerns (0, 2023-02-06)
app\models\concerns\.keep (0, 2023-02-06)
... ...

# “— Table of Contents - [“– About the Project](https://github.com/melashu/sleepover-API/blob/master/#about-project) - [”– Learning objectives](https://github.com/melashu/sleepover-API/blob/master/#learning-objectives) - [ Built With](https://github.com/melashu/sleepover-API/blob/master/#built-with) - [Tech Stack](https://github.com/melashu/sleepover-API/blob/master/#tech-stack) - [Key Features](https://github.com/melashu/sleepover-API/blob/master/#key-features) - [ Live Demo](https://github.com/melashu/sleepover-API/blob/master/#live-demo) - [’ Getting Started](https://github.com/melashu/sleepover-API/blob/master/#getting-started) - [Setup](https://github.com/melashu/sleepover-API/blob/master/#setup) - [Prerequisites](https://github.com/melashu/sleepover-API/blob/master/#prerequisites) - [Install](https://github.com/melashu/sleepover-API/blob/master/#install) - [Usage](https://github.com/melashu/sleepover-API/blob/master/#usage) - [Run tests](https://github.com/melashu/sleepover-API/blob/master/#run-tests) - [Deployment](https://github.com/melashu/sleepover-API/blob/master/#triangular_flag_on_post-deployment) - [‘ Authors](https://github.com/melashu/sleepover-API/blob/master/#authors) - [” Future Features](https://github.com/melashu/sleepover-API/blob/master/#future-features) - [¤ Contributing](https://github.com/melashu/sleepover-API/blob/master/#contributing) - [ Show your support](https://github.com/melashu/sleepover-API/blob/master/#support) - [ Acknowledgements](https://github.com/melashu/sleepover-API/blob/master/#acknowledgements) - [“ FAQ](https://github.com/melashu/sleepover-API/blob/master/#faq) - [“ License](https://github.com/melashu/sleepover-API/blob/master/#license) # “– [Sleep-Over-Backend-App] >A Sleep over App developed using React for Front-End and Ruby on Rails for Back-End. >This is our Final React-Rails Capstone project in the Microverse curriculum. ## Project Documentation “ - [x] Here is the [Frontend Project Link](https://github.com/melashu/sleepover-API/blob/master/https://github.com/melashu/Hotel-room-reservation-front)‘ - [x] Here is the [Api Documentation Link](https://github.com/melashu/sleepover-API/blob/master/https://sleepoverapi.onrender.com/api-docs/index.html) ## Built With ### Tech Stack
BackEnd
Test
Database
### Key Features - **[Delploy on render]** - Delploy on heroku - **[Improve security]** - Improve security - **[ Add testes ]** - Add testes

(back to top)

## Live Version - [Comming soon](https://github.com/melashu/sleepover-API/blob/master/)

(back to top)

## Presenation video - [Coming soon](https://github.com/melashu/sleepover-API/blob/master/)

(back to top)

## ’ Getting Started To get a local copy up and running, follow these steps. ### Prerequisites - [x] A web browser like Google Chrome. - [x] A code editor like Visual Studio Code with Git and Ruby. You can check if Git is installed by running the following command in the terminal. ``` $ git --version ``` Likewise for Ruby installation. ``` $ ruby --version && irb ``` ### Install In the terminal, go to your file directory and run this command. ``` $ git clone https://github.com/melashu/hotel-room-reservation.git ``` $ gem install bundler ``` $ bundle install $ rails db:create db:migrate ``` ### Run tests To install rspec, in the terminal kindly run this command ``` $ gem install rspec ``` To run tests, please run this command ``` $ rspec ./spec/#{filename}_spec.rb ``` ## Run the app To run the app you need to run this command in the terminal ``` $ rails s ``` ### Usage To run the project, execute the following command: ```bash command ` $ rails server` ``` ### Run tests To run tests, run the following command: ```bash command $ rspec ```

(back to top)

## ‘ Authors ‘¤ **Benjamin kisenge** - GitHub: [@benjamin kisenge](https://github.com/melashu/sleepover-API/blob/master/https://github.com/iambenkis) - Twitter: [@benjamin kisenge](https://github.com/melashu/sleepover-API/blob/master/https://twitter.com/iambenkis) - LinkedIn: [benjamin kisenge](https://github.com/melashu/sleepover-API/blob/master/https://www.linkedin.com/in/ben-kisenge/) ‘¤ **Meshu Amare** - GitHub: [@melashu](https://github.com/melashu/sleepover-API/blob/master/https://github.com/melashu) - Twitter: [@meshu102](https://github.com/melashu/sleepover-API/blob/master/https://twitter.com/meshu102) - LinkedIn: [Melashu Amare](https://github.com/melashu/sleepover-API/blob/master/https://www.linkedin.com/in/melashu-amare/) ‘¤ **Abigiya Tadesse** - GitHub: [@githubhandle](https://github.com/melashu/sleepover-API/blob/master/https://github.com/AbigiyaTY) - Twitter: [@twitterhandle](https://github.com/melashu/sleepover-API/blob/master/https://twitter.com/AbigiyaTY) - LinkedIn: [@LinkedIn](https://github.com/melashu/sleepover-API/blob/master/https://www.linkedin.com/in/AbigiyaTY) ‘¤ **Lawrence Addai Kusi** - GitHub: [@Githubhandle](https://github.com/melashu/sleepover-API/blob/master/https://github.com/kusiLaw) - Twitter: [@Twitterhandle](https://github.com/melashu/sleepover-API/blob/master/https://twitter.com/kusilaw) - Linkedin: [Linkedin](https://github.com/melashu/sleepover-API/blob/master/https://www.linkedin.com/in/lawrence-kusi-55a662104) ‘¤ **Mo'athal S. Kachi** - GitHub: [@githubhandle](https://github.com/melashu/sleepover-API/blob/master/https://github.com/Moathal) - Twitter: [@twitterhandle](https://github.com/melashu/sleepover-API/blob/master/https://twitter.com/mo_athal) - LinkedIn: [LinkedIn](https://github.com/melashu/sleepover-API/blob/master/https://linkedin.com/in/moathalkachi) ## ” Future Features - [ ] **[Delploy on heroku]** - Delploy on heroku - [ ] **[Improve security]** - Improve security - [ ] **[ Add testes ]** - Add testes

(back to top)

## ¤ Contributing Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](https://github.com/melashu/sleepover-API/blob/master/ttps://github.com/melashu/Hotel-room-reservation-front/issues).

(back to top)

## Show your support If you like this project give as a star!

(back to top)

## Acknowledgments - [Microverse](https://github.com/melashu/sleepover-API/blob/master/https://www.microverse.org/) - Coding Partners - Code Reviewers ## “ FAQ - **[How I can run this project?]** - [After cloning repository, run rails server.]

(back to top)

## “ License This project is [MIT](https://github.com/melashu/sleepover-API/blob/master/./LICENSE) licensed.

近期下载者

相关文件


收藏者