{"id":21407453,"url":"https://github.com/palashmon/learn-hapijs","last_synced_at":"2026-02-12T04:35:25.184Z","repository":{"id":85745866,"uuid":"281301598","full_name":"palashmon/learn-hapijs","owner":"palashmon","description":"A simple REST API using Hapi.js and MongoDB","archived":false,"fork":false,"pushed_at":"2024-04-30T17:37:48.000Z","size":11,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-30T18:49:45.107Z","etag":null,"topics":["crud","hapi","hapijs","mongodb","rest-api"],"latest_commit_sha":null,"homepage":"https://hapi.dev/","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/palashmon.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":"2020-07-21T05:12:52.000Z","updated_at":"2024-02-27T05:11:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"ef62544b-8faa-4a4c-90a8-65d07ad76939","html_url":"https://github.com/palashmon/learn-hapijs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palashmon%2Flearn-hapijs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palashmon%2Flearn-hapijs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palashmon%2Flearn-hapijs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palashmon%2Flearn-hapijs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/palashmon","download_url":"https://codeload.github.com/palashmon/learn-hapijs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225934431,"owners_count":17547737,"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":["crud","hapi","hapijs","mongodb","rest-api"],"created_at":"2024-11-22T16:52:32.659Z","updated_at":"2026-02-12T04:35:25.125Z","avatar_url":"https://github.com/palashmon.png","language":"JavaScript","readme":"# Learn Hapi.js\n\nA simple REST API using Hapi.js and MongoDB\n\n## Usage\n\n### Installation\n\nClone the repo and install npm module\n\n```sh\nnpm install\n```\n\n### Run app\n\n```sh\nnpm start\n```\n\n### Routes\n\n| Description | Http   | URL                               | Body                                              |\n| ----------- | ------ | --------------------------------- | ------------------------------------------------- |\n| Create      | POST   | http://localhost:3000/person      | `{ \"firstName\": \"Palash\", \"lastName\": \"Mondal\" }` |\n| Read All    | GET    | http://localhost:3000/people      | -                                                 |\n| Read One    | GET    | http://localhost:3000/person/{id} | -                                                 |\n| Update      | PUT    | http://localhost:3000/person/{id} | `{ \"firstName\": \"Pal\" }`                          |\n| Delete      | DELETE | http://localhost:3000/person/{id} | -                                                 |\n\n### Links\n\n- [Getting Started](https://hapi.dev/tutorials/gettingstarted/?lang=en_US)\n- [Express Migration](https://hapi.dev/tutorials/expresstohapi/?lang=en_US)\n- [Routing](https://hapi.dev/tutorials/routing/?lang=en_US)\n- [Community support options](https://hapi.dev/support/)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpalashmon%2Flearn-hapijs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpalashmon%2Flearn-hapijs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpalashmon%2Flearn-hapijs/lists"}