{"id":15536616,"url":"https://github.com/zedd45/2016-js-atl-hapi","last_synced_at":"2025-10-29T08:44:36.535Z","repository":{"id":142997144,"uuid":"56467539","full_name":"zedd45/2016-js-atl-hapi","owner":"zedd45","description":"Lightning Talk for JS Atlanta - Hapi JS and Services ","archived":false,"fork":false,"pushed_at":"2017-05-03T17:45:14.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T23:12:30.080Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/zedd45.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-04-18T01:20:29.000Z","updated_at":"2022-08-31T02:46:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"9b8b34d6-95d5-45f4-aef0-e8c23c3ede0a","html_url":"https://github.com/zedd45/2016-js-atl-hapi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zedd45/2016-js-atl-hapi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zedd45%2F2016-js-atl-hapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zedd45%2F2016-js-atl-hapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zedd45%2F2016-js-atl-hapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zedd45%2F2016-js-atl-hapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zedd45","download_url":"https://codeload.github.com/zedd45/2016-js-atl-hapi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zedd45%2F2016-js-atl-hapi/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266161904,"owners_count":23885928,"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":[],"created_at":"2024-10-02T11:52:40.952Z","updated_at":"2025-10-29T08:44:36.460Z","avatar_url":"https://github.com/zedd45.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 2016-js-atl-hapi\nLightning Talk for JS Atlanta - Hapi JS and Services \n\n## Install \n\n```\nnpm i\n```\n\n## Boot it!\n\n```\nnpm start\n# OR\nnpm run start:dev \n# to reload the server on changes\n```\n\nthen, navigate to `localhost:3000`. \n\n## Tests\n\n```\nnpm test\n```\n\n## Lint\n\n```\nnpm run lint\n```\n\n\n# Under the hood\n\n* [`blipp`](https://github.com/danielb2/blipp) - lists the routes (routing table) with optional `description` config property next to the route\n* [`config`](https://github.com/lorenwest/node-config) - handles loading different configurations based on the `NODE_ENV`  (`hapi` devs tend to use [`confidence`](https://github.com/hapijs/confidence) for this; I prefer `config` for various reasons)\n* [`glue`](https://github.com/hapijs/glue) - \"sticks\" plugins together, with the provided configuration.  With `config` this is doubly powerful, as you can have a different setup for each `NODE_ENV`\n* [`good`](https://github.com/hapijs/good) - handles all the log(s), with various adapters for `console`, file, or even network requests (to `POST` your logs elsewhere, for instance)\n* [`h2o2`](https://github.com/hapijs/h2o2) - creates a proxy handler to, well, proxy requests to another upstream source. Handles simple 1:1 url mapping as well as methods to mutate the outbound request, as well as the inbound response.\n* [`inert`](https://github.com/hapijs/inert) - creates file \u0026 directory handlers for serving static content. (I almost always use directory at this point; it has better built in security.)\n* [`joi`](https://github.com/hapijs/joi) - validation library for JavaScript.  Like `React`'s `PropTypes`, except more... robust!\n* [`lab`](https://github.com/hapijs/lab) - testing, built for node with `hapi` specifically in mind.  Forked from `mocha`, but with built in coverage, reporters, linting, and other conveniences \n* [`wreck`](https://github.com/hapijs/wreck) - `http` library.  Think `curl` in node.\n\n\n\n# Additional Reading\n\n## Hapi Edge \n\nThese guys wrote the book (literally).  Some of my colleagues from Walmart show how to set up [controllers](https://github.com/hapijs-edge/hapi-plugins.com/tree/master/lib/controllers) and [models](https://github.com/hapijs-edge/hapi-plugins.com/tree/master/lib/models) in order to be more organized. Because organized code is hapi code. \n\n\n## Resources\n\nSpeaking of that book, there are links on the [resources](http://hapijs.com/resources) page of Hapijs.com that include working [boilerplates](http://hapijs.com/resources#Boilerplates) and [tutorials](http://hapijs.com/resources#Tutorials) to help you get started quickly!  \n\n## Twitter\n\nHere's a twiter \"moment\" from the actual event!\n\nhttps://twitter.com/i/moments/859819667661230080\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzedd45%2F2016-js-atl-hapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzedd45%2F2016-js-atl-hapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzedd45%2F2016-js-atl-hapi/lists"}