{"id":19957631,"url":"https://github.com/cliftondavies/hap-api","last_synced_at":"2026-04-10T12:31:18.805Z","repository":{"id":52202553,"uuid":"351596559","full_name":"cliftondavies/HAP-API","owner":"cliftondavies","description":"The Ruby on Rails REST API for Hikes Against Poverty.","archived":false,"fork":false,"pushed_at":"2021-05-13T20:07:06.000Z","size":57,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-03T22:53:20.754Z","etag":null,"topics":["devise-token-auth","heroku","postgresql","rspec","rspec-rails","ruby","ruby-on-rails","shoulda-matchers","sql"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/cliftondavies.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}},"created_at":"2021-03-25T22:47:18.000Z","updated_at":"2021-12-17T20:35:43.000Z","dependencies_parsed_at":"2022-08-03T15:19:47.631Z","dependency_job_id":null,"html_url":"https://github.com/cliftondavies/HAP-API","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cliftondavies/HAP-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cliftondavies%2FHAP-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cliftondavies%2FHAP-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cliftondavies%2FHAP-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cliftondavies%2FHAP-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cliftondavies","download_url":"https://codeload.github.com/cliftondavies/HAP-API/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cliftondavies%2FHAP-API/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31642671,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T07:40:12.752Z","status":"ssl_error","status_checked_at":"2026-04-10T07:40:11.664Z","response_time":98,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["devise-token-auth","heroku","postgresql","rspec","rspec-rails","ruby","ruby-on-rails","shoulda-matchers","sql"],"created_at":"2024-11-13T01:38:30.300Z","updated_at":"2026-04-10T12:31:18.772Z","avatar_url":"https://github.com/cliftondavies.png","language":"Ruby","readme":"[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n[![Open Source Love png1](https://badges.frapsoft.com/os/v1/open-source.png?v=103)](https://github.com/ellerbrock/open-source-badges/)\n![Tweeting](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)\n\n# HAP API\n\n\u003e An API-only app consumed by the [HAP](https://github.com/cliftondavies/Hikes-Against-Poverty) frontend via token-based authentication with [devise-token-auth](https://devise-token-auth.gitbook.io/devise-token-auth/).\n\n## MVP Features\n\nThe MVP endpoints include:\n\n- GET /hikes\n- GET /bookings\n- POST /auth\n- POST /auth/sign_in\n- DELETE /auth/sign_out\n- POST /hikes/{id}/appointments\n\n## :toolbox: Tools \u0026 Technologies Used\n\n### Built with\n\n- Ruby v2.6.5\n- Ruby on Rails v5.2.4\n- RSpec \u003e=3.8.0\n- PostgreSQL \u003e=9.5\n\n## :rocket: Getting Started\n\nTo get a local copy up and running follow these simple example steps.\n\n### Prerequisites\n\n[Ruby](https://www.ruby-lang.org/en/documentation/installation/): 2.6.5\n\nRails: 5.2.3\n\n```ruby\ngem install rails -v 5.2.3\n```\n\n[PostgreSQL](https://www.postgresql.org/download/): \u003e=9.5\n\n### Setup\n\nClone repo into your local environment:\n\nClone with SSH\n\n```git\ngit clone git@github.com:cliftondavies/HAP-API.git\n```\n\nClone with HTTPS\n\n```git\ngit clone https://github.com/cliftondavies/HAP-API.git\n```\n\nOpen project directory\n\n```bash\ncd [your-directory-name]\n```\n\nInstall gems:\n\n```ruby\nbundle install\n```\n\nSet up database:\n\n```ruby\nrails db:create\nrails db:migrate\n```\n\n### Local Usage\n\n#### In console\n\nStart console:\n\n```ruby\nrails console\n```\n\n#### In Browser\n\nStart server:\n\n```ruby\nrails server\n```\n\nOpen `http://localhost:3000/` in your browser.\n\n### Deploy\n\n```bash\nheroku create\n```\n```bash\ngit push heroku master\n```\n```bash\nheroku run rails db:migrate\n```\n```bash\nheroku run rails db:seed\n```\n```bash\nheroku open\n```\n\n## Author\n\n👤 **Clifton Davies**\n\n- Github: [@githubhandle](https://github.com/cliftondavies)\n- Twitter: [@twitterhandle](https://twitter.com/cliftonaedavies)\n- Linkedin: [linkedin](https://www.linkedin.com/in/clifton-davies-mbcs/)\n\n## 🤝 Contributing\n\nContributions, issues and feature requests are welcome!\n\n## Show your support\n\nGive a ⭐️ if you like this project!\n\n## Acknowledgments\n\n- [Postman](https://www.postman.com/)\n- [HTTPie](https://httpie.io/)\n\n## 📝 Copyright \u0026 License\n\nCopyright (c) 2020 Clifton Davies.\nThis project is licensed under [MIT](https://opensource.org/licenses/MIT). See LICENSE file for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcliftondavies%2Fhap-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcliftondavies%2Fhap-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcliftondavies%2Fhap-api/lists"}