{"id":24304565,"url":"https://github.com/ashishprajapati/paritycubehotel","last_synced_at":"2026-05-10T02:24:36.231Z","repository":{"id":76044968,"uuid":"70352228","full_name":"ashishprajapati/ParityCubeHotel","owner":"ashishprajapati","description":"Developed Hotel Booking Application","archived":false,"fork":false,"pushed_at":"2023-07-17T16:49:19.000Z","size":4535,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-21T23:37:27.265Z","etag":null,"topics":["rails","ruby","webservices"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ashishprajapati.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-08T19:13:24.000Z","updated_at":"2023-07-17T16:49:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"a85697f7-b402-48c6-bf44-c8e25287073e","html_url":"https://github.com/ashishprajapati/ParityCubeHotel","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ashishprajapati/ParityCubeHotel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashishprajapati%2FParityCubeHotel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashishprajapati%2FParityCubeHotel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashishprajapati%2FParityCubeHotel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashishprajapati%2FParityCubeHotel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashishprajapati","download_url":"https://codeload.github.com/ashishprajapati/ParityCubeHotel/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashishprajapati%2FParityCubeHotel/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261211682,"owners_count":23125543,"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":["rails","ruby","webservices"],"created_at":"2025-01-17T01:40:51.002Z","updated_at":"2026-05-10T02:24:36.222Z","avatar_url":"https://github.com/ashishprajapati.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# README\n\nThis is a Hotel room booking application\n\n## Rails Version\nRails 5.0.0.1\n\n## Ruby Version\nRuby 2.3.1\n\n## Database\nMySQL\n\n## Run Gemfile\n```\n\tbundle install\n```\n\n## Create Database\n```\n\trails db:create\n```\n\n## Run Migrations\n```\n\trails db:migrate\n```\n\n## Run Seed File\n#### Seed Data for storing the rooms category and rooms information to the database\n```\n\trails db:seed\n```\n\n## Start Server\n```\n\trails s\n```\n\n# API Documentation\n\nI have used serializer for accomplishing the apis\n \n## API document by postman testing\n#### Please import the url into the postman \nPostman API Document Link : https://www.getpostman.com/collections/ebd9a4dd8cf44c88402d\n```json\n{\n\t\"variables\": [],\n\t\"info\": {\n\t\t\"name\": \"ParityCubeHotel\",\n\t\t\"_postman_id\": \"172ed3c2-9811-36cf-010a-9514b320c156\",\n\t\t\"description\": \"\",\n\t\t\"schema\": \"https://schema.getpostman.com/json/collection/v2.0.0/collection.json\"\n\t},\n\t\"item\": [\n\t\t{\n\t\t\t\"name\": \"User Registration\",\n\t\t\t\"request\": {\n\t\t\t\t\"url\": \"http://localhost:3000/api/v1/users\",\n\t\t\t\t\"method\": \"POST\",\n\t\t\t\t\"header\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"key\": \"Content-Type\",\n\t\t\t\t\t\t\"value\": \"application/json\",\n\t\t\t\t\t\t\"description\": \"\"\n\t\t\t\t\t}\n\t\t\t\t],\n\t\t\t\t\"body\": {\n\t\t\t\t\t\"mode\": \"raw\",\n\t\t\t\t\t\"raw\": \"{\\n\\t\\\"user\\\": {\\n\\t\\t\\\"first_name\\\":\\\"Ashish\\\",\\n\\t\\t\\\"last_name\\\":\\\"Prajapati\\\",\\n\\t\\t\\\"mobile\\\":\\\"808xxxxxxx\\\",\\n\\t\\t\\\"email\\\":\\\"mail@xxxxxxxxxxxxx.com\\\",\\n\\t\\t\\\"password\\\":\\\"12345678\\\"\\n\\t}\\n}\"\n\t\t\t\t},\n\t\t\t\t\"description\": \"\"\n\t\t\t},\n\t\t\t\"response\": []\n\t\t},\n\t\t{\n\t\t\t\"name\": \"User Sign In\",\n\t\t\t\"request\": {\n\t\t\t\t\"url\": \"http://localhost:3000/api/v1/users/sign_in\",\n\t\t\t\t\"method\": \"POST\",\n\t\t\t\t\"header\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"key\": \"Content-Type\",\n\t\t\t\t\t\t\"value\": \"application/json\",\n\t\t\t\t\t\t\"description\": \"\"\n\t\t\t\t\t}\n\t\t\t\t],\n\t\t\t\t\"body\": {\n\t\t\t\t\t\"mode\": \"raw\",\n\t\t\t\t\t\"raw\": \"{\\n\\t\\\"user\\\": {\\n\\t\\t\\\"email\\\":\\\"mail@ashishprajapati.com\\\",\\n\\t\\t\\\"password\\\":\\\"12345678\\\"\\n\\t}\\n}\"\n\t\t\t\t},\n\t\t\t\t\"description\": \"\"\n\t\t\t},\n\t\t\t\"response\": []\n\t\t},\n\t\t{\n\t\t\t\"name\": \"Availability of rooms api dates range\",\n\t\t\t\"request\": {\n\t\t\t\t\"url\": \"http://localhost:3000/api/v1/hotel_rooms?check_in=2016/10/9\u0026check_out=2016/10/14\",\n\t\t\t\t\"method\": \"GET\",\n\t\t\t\t\"header\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"key\": \"Content-Type\",\n\t\t\t\t\t\t\"value\": \"application/json\",\n\t\t\t\t\t\t\"description\": \"\"\n\t\t\t\t\t}\n\t\t\t\t],\n\t\t\t\t\"body\": {\n\t\t\t\t\t\"mode\": \"raw\",\n\t\t\t\t\t\"raw\": \"\"\n\t\t\t\t},\n\t\t\t\t\"description\": \"\"\n\t\t\t},\n\t\t\t\"response\": []\n\t\t},\n\t\t{\n\t\t\t\"name\": \"Availability of rooms by category\",\n\t\t\t\"request\": {\n\t\t\t\t\"url\": \"http://localhost:3000/api/v1/hotel_rooms?check_in=2016/10/9\u0026check_out=2016/10/14\u0026category_id=4\",\n\t\t\t\t\"method\": \"GET\",\n\t\t\t\t\"header\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"key\": \"Content-Type\",\n\t\t\t\t\t\t\"value\": \"application/json\",\n\t\t\t\t\t\t\"description\": \"\"\n\t\t\t\t\t}\n\t\t\t\t],\n\t\t\t\t\"body\": {\n\t\t\t\t\t\"mode\": \"raw\",\n\t\t\t\t\t\"raw\": \"\"\n\t\t\t\t},\n\t\t\t\t\"description\": \"\"\n\t\t\t},\n\t\t\t\"response\": []\n\t\t},\n\t\t{\n\t\t\t\"name\": \"User's Rooms Booking Informations\",\n\t\t\t\"request\": {\n\t\t\t\t\"url\": \"http://localhost:3000/api/v1/booking_informations?user_email=ashish@gmail.com\u0026user_token=KsWaQr3zXtQLhTq9BLVM\",\n\t\t\t\t\"method\": \"GET\",\n\t\t\t\t\"header\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"key\": \"Content-Type\",\n\t\t\t\t\t\t\"value\": \"application/json\",\n\t\t\t\t\t\t\"description\": \"\"\n\t\t\t\t\t}\n\t\t\t\t],\n\t\t\t\t\"body\": {\n\t\t\t\t\t\"mode\": \"raw\",\n\t\t\t\t\t\"raw\": \"\"\n\t\t\t\t},\n\t\t\t\t\"description\": \"\"\n\t\t\t},\n\t\t\t\"response\": []\n\t\t},\n\t\t{\n\t\t\t\"name\": \"Availability of rooms api single date\",\n\t\t\t\"request\": {\n\t\t\t\t\"url\": \"http://localhost:3000/api/v1/hotel_rooms?check_in=2016/10/9\",\n\t\t\t\t\"method\": \"GET\",\n\t\t\t\t\"header\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"key\": \"Content-Type\",\n\t\t\t\t\t\t\"value\": \"application/json\",\n\t\t\t\t\t\t\"description\": \"\"\n\t\t\t\t\t}\n\t\t\t\t],\n\t\t\t\t\"body\": {\n\t\t\t\t\t\"mode\": \"raw\",\n\t\t\t\t\t\"raw\": \"\"\n\t\t\t\t},\n\t\t\t\t\"description\": \"\"\n\t\t\t},\n\t\t\t\"response\": []\n\t\t}\n\t]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashishprajapati%2Fparitycubehotel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashishprajapati%2Fparitycubehotel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashishprajapati%2Fparitycubehotel/lists"}