{"id":42358822,"url":"https://github.com/chetanraj/hapijs-mongoose-restapi","last_synced_at":"2026-01-27T16:38:15.409Z","repository":{"id":24614221,"uuid":"77687262","full_name":"chetanraj/hapijs-mongoose-restapi","owner":"chetanraj","description":"a RESTful API using hapijs and mongoose","archived":false,"fork":false,"pushed_at":"2026-01-10T03:14:28.000Z","size":211,"stargazers_count":6,"open_issues_count":25,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-11T00:53:40.107Z","etag":null,"topics":["api","flow","hapijs","hapijs-mongoose-restapi","mongoose","nodejs","npm","rest-api","yarn"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/chetanraj.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-12-30T13:17:05.000Z","updated_at":"2021-04-25T10:52:39.000Z","dependencies_parsed_at":"2023-12-20T19:45:32.072Z","dependency_job_id":"a72b3e17-9294-4b3a-9523-c371387039f1","html_url":"https://github.com/chetanraj/hapijs-mongoose-restapi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chetanraj/hapijs-mongoose-restapi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chetanraj%2Fhapijs-mongoose-restapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chetanraj%2Fhapijs-mongoose-restapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chetanraj%2Fhapijs-mongoose-restapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chetanraj%2Fhapijs-mongoose-restapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chetanraj","download_url":"https://codeload.github.com/chetanraj/hapijs-mongoose-restapi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chetanraj%2Fhapijs-mongoose-restapi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28816563,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T12:25:15.069Z","status":"ssl_error","status_checked_at":"2026-01-27T12:25:05.297Z","response_time":168,"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":["api","flow","hapijs","hapijs-mongoose-restapi","mongoose","nodejs","npm","rest-api","yarn"],"created_at":"2026-01-27T16:38:15.336Z","updated_at":"2026-01-27T16:38:15.396Z","avatar_url":"https://github.com/chetanraj.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# hapijs-mongoose-restapi\n\nThis is a boilerplate for creating a RESTful API using hapi.js and mongoose. The code for creating the API has been explained in this [Medium Post](https://medium.com/jsessentials/build-a-restful-api-using-hapijs-and-mongoose-4903590c5663)\n\n[![bitHound Dependencies](https://www.bithound.io/github/chetanraj/hapijs-mongoose-restapi/badges/dependencies.svg)](https://www.bithound.io/github/chetanraj/hapijs-mongoose-restapi/master/dependencies/npm) [![Known Vulnerabilities](https://snyk.io/test/github/chetanraj/hapijs-mongoose-restapi/badge.svg)](https://snyk.io/test/github/chetanraj/hapijs-mongoose-restapi) [![Build Status](https://travis-ci.org/chetanraj/hapijs-mongoose-restapi.svg?branch=master)](https://travis-ci.org/chetanraj/hapijs-mongoose-restapi) [![CircleCI](https://circleci.com/gh/chetanraj/hapijs-mongoose-restapi.svg?style=svg)](https://circleci.com/gh/chetanraj/hapijs-mongoose-restapi) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo) [![Coverage Status](https://coveralls.io/repos/github/chetanraj/hapijs-mongoose-restapi/badge.svg?branch=master)](https://coveralls.io/github/chetanraj/hapijs-mongoose-restapi?branch=master)\n\n## Directory Layout\n\n```bash\n.\n├── app.js                  // Express App and Entry Point\n├── database.js             // MongoDB Connection\n├── /models/                // DB Models\n│   └── Wolf.js             // Schema\n├── /node_modules/          // Project Dependencies[pm modules]\n├── package.json\n├── routes.js\n└── yarn.lock\n```\n\n## Getting Started\n\n```javascript\nyarn\n```\n\n## To start the app\n```javascript\nnpm start\n```\n\n### Routes\n\n* http://localhost:4000\n* http://localhost:4000/api\n\nGET\n* http://localhost:4000/api/wolves\n\nPOST\n* http://localhost:4000/api/wolves/Coyote\n\n---\nMade with ♥ by Chetan\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchetanraj%2Fhapijs-mongoose-restapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchetanraj%2Fhapijs-mongoose-restapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchetanraj%2Fhapijs-mongoose-restapi/lists"}