{"id":14955809,"url":"https://github.com/melashu/sleepover-api","last_synced_at":"2025-11-17T03:16:02.080Z","repository":{"id":65467662,"uuid":"590448952","full_name":"melashu/sleepover-API","owner":"melashu","description":"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.","archived":false,"fork":false,"pushed_at":"2023-02-06T06:24:38.000Z","size":160,"stargazers_count":7,"open_issues_count":42,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-24T22:49:34.323Z","etag":null,"topics":["post","postgresql","ruby","rubyonrails"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/melashu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2023-01-18T12:52:40.000Z","updated_at":"2024-03-07T02:17:25.000Z","dependencies_parsed_at":"2023-02-14T01:00:55.400Z","dependency_job_id":null,"html_url":"https://github.com/melashu/sleepover-API","commit_stats":null,"previous_names":["melashu/sleepover-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melashu%2Fsleepover-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melashu%2Fsleepover-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melashu%2Fsleepover-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/melashu%2Fsleepover-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/melashu","download_url":"https://codeload.github.com/melashu/sleepover-API/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235515426,"owners_count":19002481,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["post","postgresql","ruby","rubyonrails"],"created_at":"2024-09-24T13:11:50.002Z","updated_at":"2025-10-06T08:32:17.284Z","avatar_url":"https://github.com/melashu.png","language":"Ruby","readme":"\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n\n\u003c!--\nHOW TO USE:\nThis is an example of how you may give instructions on setting up your project locally.\n\nModify this file to match your project and remove sections that don't apply.\n\nREQUIRED SECTIONS:\n- Table of Contents\n- About the Project\n  - Built With\n  - Live Demo\n- Getting Started\n- Authors\n- Future Features\n- Contributing\n- Show your support\n- Acknowledgements\n- License\n\nAfter you're finished please remove all the comments and instructions!\n--\u003e\n\n\u003c!-- TABLE OF CONTENTS --\u003e\n\n# 📗 Table of Contents\n\n- [📖 About the Project](#about-project)\n  - [🔖 Learning objectives](#learning-objectives)\n  - [🛠 Built With](#built-with)\n    - [Tech Stack](#tech-stack)\n    - [Key Features](#key-features)\n  - [🚀 Live Demo](#live-demo)\n- [💻 Getting Started](#getting-started)\n  - [Setup](#setup)\n  - [Prerequisites](#prerequisites)\n  - [Install](#install)\n  - [Usage](#usage)\n  - [Run tests](#run-tests)\n  - [Deployment](#triangular_flag_on_post-deployment)\n- [👥 Authors](#authors)\n- [🔭 Future Features](#future-features)\n- [🤝 Contributing](#contributing)\n- [⭐️ Show your support](#support)\n- [🙏 Acknowledgements](#acknowledgements)\n- [❓ FAQ](#faq)\n- [📝 License](#license)\n\n\u003c!-- PROJECT DESCRIPTION --\u003e\n\n# 📖 [Sleep-Over-Backend-App] \u003ca name=\"about-project\"\u003e\u003c/a\u003e\n\n\u003eA Sleep over App developed using React for Front-End and Ruby on Rails for Back-End.\n\n\u003eThis is our Final React-Rails Capstone project in the Microverse curriculum.\n\n## Project Documentation 📄\n\n- [x] Here is the [Frontend Project Link](https://github.com/melashu/Hotel-room-reservation-front)👈\n\n\u003c!-- - [x] Here is the [Frontend Hosted Link](/) --\u003e\n\n- [x] Here is the [Api Documentation Link](https://sleepoverapi.onrender.com/api-docs/index.html)\n\n## 🛠 Built With \u003ca name=\"built-with\"\u003e\u003c/a\u003e\n\n### Tech Stack \u003ca name=\"tech-stack\"\u003e\u003c/a\u003e\n\n\n\u003cdetails\u003e\n  \u003csummary\u003eBackEnd\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://railsguide.com/\"\u003eRails\u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eTest\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://rspec.com/\"\u003eRSPEC\u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eDatabase\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://www.postgresql.org/\"\u003ePostgreSQL\u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n\u003c!-- Features --\u003e\n\n### Key Features \u003ca name=\"key-features\"\u003e\u003c/a\u003e\n\n- **[Delploy on render]** - Delploy on heroku\n- **[Improve security]** - Improve security\n- **[ Add testes ]** -  Add testes\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- LIVE DEMO --\u003e\n\n## 🚀 Live Version \u003ca name=\"live-demo\"\u003e\u003c/a\u003e\n\n- [Comming soon]()\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- Presentation --\u003e\n\n## 🚀 Presenation video \u003ca name=\"live-demo\"\u003e\u003c/a\u003e\n\n- [Coming soon]()\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\u003c!-- GETTING STARTED --\u003e\n\n## 💻 Getting Started \u003ca name=\"getting-started\"\u003e\u003c/a\u003e\n\nTo get a local copy up and running, follow these steps.\n\n### Prerequisites\n\n- [x] A web browser like Google Chrome.\n- [x] A code editor like Visual Studio Code with Git and Ruby.\n\nYou can check if Git is installed by running the following command in the terminal.\n\n```\n$ git --version\n```\n\nLikewise for Ruby installation.\n\n```\n$ ruby --version \u0026\u0026 irb\n```\n\n### Install\n\nIn the terminal, go to your file directory and run this command.\n\n```\n$ git clone https://github.com/melashu/hotel-room-reservation.git\n\n```\n\n$ gem install bundler\n\n```\n$ bundle install\n\n$ rails db:create db:migrate\n\n```\n\n### Run tests\n\nTo install rspec, in the terminal kindly run this command\n\n```\n$ gem install rspec\n```\n\nTo run tests, please run this command\n\n```\n$ rspec ./spec/#{filename}_spec.rb\n\n```\n\n## Run the app\nTo run the app you need to run this command in the terminal\n\n```\n\n$ rails s\n\n```\n\n### Usage\n\nTo run the project, execute the following command:\n\n```bash command\n` $ rails server`\n```\n\n### Run tests\n\nTo run tests, run the following command:\n```bash command\n $ rspec\n```\n\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## 👥 Authors \u003ca name=\"authors\"\u003e\u003c/a\u003e\n\n👤 **Benjamin kisenge**\n\n- GitHub: [@benjamin kisenge](https://github.com/iambenkis)\n- Twitter: [@benjamin kisenge](https://twitter.com/iambenkis)\n- LinkedIn: [benjamin kisenge](https://www.linkedin.com/in/ben-kisenge/)\n\n👤 **Meshu Amare**\n\n- GitHub: [@melashu](https://github.com/melashu)\n- Twitter: [@meshu102](https://twitter.com/meshu102)\n- LinkedIn: [Melashu Amare](https://www.linkedin.com/in/melashu-amare/)\n\n👤 **Abigiya Tadesse**\n\n- GitHub: [@githubhandle](https://github.com/AbigiyaTY)\n- Twitter: [@twitterhandle](https://twitter.com/AbigiyaTY)\n- LinkedIn: [@LinkedIn](https://www.linkedin.com/in/AbigiyaTY)\n\n👤 **Lawrence Addai Kusi**\n - GitHub: [@Githubhandle](https://github.com/kusiLaw)\n - Twitter: [@Twitterhandle](https://twitter.com/kusilaw)\n - Linkedin: [Linkedin](https://www.linkedin.com/in/lawrence-kusi-55a662104)\n\n 👤 **Mo'athal S. Kachi**\n\n- GitHub: [@githubhandle](https://github.com/Moathal)\n- Twitter: [@twitterhandle](https://twitter.com/mo_athal)\n- LinkedIn: [LinkedIn](https://linkedin.com/in/moathalkachi)\n\n## 🔭 Future Features \u003ca name=\"future-features\"\u003e\u003c/a\u003e\n\n- [ ] **[Delploy on heroku]** - Delploy on heroku\n- [ ] **[Improve security]** - Improve security\n- [ ] **[ Add testes ]** -  Add testes\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## 🤝 Contributing \u003ca name=\"contributing\"\u003e\u003c/a\u003e\n\nContributions, issues, and feature requests are welcome!\n\nFeel free to check the [issues page](ttps://github.com/melashu/Hotel-room-reservation-front/issues).\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## ⭐️ Show your support \u003ca name=\"support\"\u003e\u003c/a\u003e\n\nIf you like this project give as a star! ⭐️\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## 🙏 Acknowledgments \u003ca name=\"acknowledgements\"\u003e\u003c/a\u003e\n\n- [Microverse](https://www.microverse.org/)\n- Coding Partners\n- Code Reviewers\n\n## ❓ FAQ \u003ca name=\"faq\"\u003e\u003c/a\u003e\n\n- **[How I can run this project?]**\n\n  - [After cloning repository, run rails server.]\n\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n## 📝 License\n\nThis project is [MIT](./LICENSE) licensed.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelashu%2Fsleepover-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmelashu%2Fsleepover-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmelashu%2Fsleepover-api/lists"}