{"id":24087135,"url":"https://github.com/hapipal/hapipal.com","last_synced_at":"2025-05-05T17:59:08.200Z","repository":{"id":24470281,"uuid":"101691330","full_name":"hapipal/hapipal.com","owner":"hapipal","description":"This is the home of hapipal.com","archived":false,"fork":false,"pushed_at":"2023-08-22T14:18:47.000Z","size":13906,"stargazers_count":12,"open_issues_count":12,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-30T22:41:47.466Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://hapipal.com","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/hapipal.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}},"created_at":"2017-08-28T21:53:53.000Z","updated_at":"2024-01-13T14:28:27.000Z","dependencies_parsed_at":"2023-02-18T12:18:39.812Z","dependency_job_id":null,"html_url":"https://github.com/hapipal/hapipal.com","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/hapipal%2Fhapipal.com","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapipal%2Fhapipal.com/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapipal%2Fhapipal.com/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapipal%2Fhapipal.com/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hapipal","download_url":"https://codeload.github.com/hapipal/hapipal.com/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252548657,"owners_count":21766217,"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":"2025-01-10T03:02:27.801Z","updated_at":"2025-05-05T17:59:08.181Z","avatar_url":"https://github.com/hapipal.png","language":"JavaScript","readme":"# hapipal.com\nThis is the home of [hapipal.com](https://hapipal.com)\n\nLead Maintainer - [Jared Donisvitch](https://github.com/jdonisvitch)\n\n## About\nThis website is built on the [pal boilerplate](https://github.com/hapipal/boilerplate)!  More specifically, it based upon the [fancy templated site flavor](https://github.com/hapipal/boilerplate#fancy-templated-site) utilizing Handlebars, Browserify, Babel, Sass, Browsersync, and some others as part of an easy-to-use/no-config frontend toolchain.\n\nThis repo contains the content of all Best Practices articles in [`lib/content/best-practices/`](lib/content/best-practices), but API docs are rendered from the relevant repo's `API.md` file.\n\nWe utilize the [schmervice](https://github.com/hapipal/schmervice) plugin as a service layer (see [`lib/services/`](lib/services)) where we implement ([cacheable](lib/services/github.js#L50-L62)) integration points with npm, Github, and Mailchimp, and also provide a common interface for route handlers to get information about the Best Practices articles and packages featured in the API Docs section.  Static files are served using [inert](https://github.com/hapijs/inert), and Handlebars templates are served/cached through [vision](https://github.com/hapijs/vision).\n\n### Running the site\n```bash\nnpm install\n\n# For production:\n# browsersync is inactive, serves the existing JS and CSS prod builds, template caching is enabled\nNODE_ENV=production npm start\n\n# For development:\n# browsersync is active, automatic JS and CSS dev builds, template caching is disabled\nnpm start\n```\n\n### Environment variables\n```bash\ncp server/.env-keep server/.env\n# Now fill-in your environment variables in server/.env\n```\n\n - `GITHUB_TOKEN` - Required for markdown rendering on API Docs and Best Practices pages.  You may follow [these instructions](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) to obtain a Github personal access token.  Only `public_repo` scope is necessary.\n - `MAILCHIMP_API_KEY` - Required only for newsletter signup.  The site can be run without this.\n - `MAILCHIMP_LIST_ID` - Required only for newsletter signup.  The site can be run without this.\n - `GA_TRACKING_ID` - Required for Google Analytics.  The site can be run without this.  Only utilized in production.\n\n### Scripts\nBuild JS and CSS for production using `npm run build`.  JS may be built for development purposes (with sourcemaps, etc.) manually using `npm run prebuild:js`, which is also run automatically when a frontend JS file is updated and `NODE_ENV` is not `'production'`.  And the same story goes for CSS: a development build may be generated with `npm run prebuild:css`.  See package.json for details.\n\n## Extras\n - Big thanks to [Big Room Studios](https://www.bigroomstudios.com/), who sponsored much of the site's initial design and development.\n - hapipal.com was designed by [Justin Varberakis](https://dribbble.com/Varberakis).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhapipal%2Fhapipal.com","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhapipal%2Fhapipal.com","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhapipal%2Fhapipal.com/lists"}