{"id":16121842,"url":"https://github.com/eseom/hapi-react-fullstack-boilerplate","last_synced_at":"2025-06-18T17:34:19.929Z","repository":{"id":80669808,"uuid":"80194315","full_name":"eseom/hapi-react-fullstack-boilerplate","owner":"eseom","description":"Hapi, Sequelize, React, etc.","archived":false,"fork":false,"pushed_at":"2017-11-14T13:35:00.000Z","size":4031,"stargazers_count":21,"open_issues_count":1,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-02T15:11:15.259Z","etag":null,"topics":["babel","es7","hapi","isomorphic","react","redux","sequelize","socketio","ssr"],"latest_commit_sha":null,"homepage":"","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/eseom.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":"2017-01-27T09:16:12.000Z","updated_at":"2022-04-04T05:47:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"d5c7a7d6-07dd-42cb-9710-0f3337e37432","html_url":"https://github.com/eseom/hapi-react-fullstack-boilerplate","commit_stats":{"total_commits":58,"total_committers":2,"mean_commits":29.0,"dds":"0.017241379310344862","last_synced_commit":"31d460bb2fa243139062b8522d5e02fc9d8f0172"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eseom/hapi-react-fullstack-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eseom%2Fhapi-react-fullstack-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eseom%2Fhapi-react-fullstack-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eseom%2Fhapi-react-fullstack-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eseom%2Fhapi-react-fullstack-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eseom","download_url":"https://codeload.github.com/eseom/hapi-react-fullstack-boilerplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eseom%2Fhapi-react-fullstack-boilerplate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260598958,"owners_count":23034420,"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":["babel","es7","hapi","isomorphic","react","redux","sequelize","socketio","ssr"],"created_at":"2024-10-09T21:08:25.952Z","updated_at":"2025-06-18T17:34:14.907Z","avatar_url":"https://github.com/eseom.png","language":"JavaScript","readme":"# hapi-react-fullstack-boilerplate\nHapi, Sequelize, React, Redux, Bootstrap, Kuejs, etc.\n\nreact full web stack with rendering server, hapi echosystem for REAL Production.\n\n## DEMO\n\n[heroku deployed demo](https://hapi-react-fullstack-bp.herokuapp.com/)\n\n## Features\n* [HapiJS](https://github.com/hapijs/hapi)\n* [ReactJS](https://github.com/reactjs)\n* SSR\n* Webpack 2 (new webpack config structure)\n* [React-Router](https://github.com/rackt/react-router)\n* [Redux](https://github.com/reactjs/redux)\n* Document Head [React-Helmet](https://github.com/nfl/react-helmet)\n* [BabelJs](https://babeljs.io/)\n* Linting with eslint \u0026 jscs\n* Testing with karma, mocha\n* API Documentation [Swagger](https://github.com/glennjones/hapi-swagger)\n* [Sequelize](https://github.com/sequelize/sequelize) - cover traditional web apps.\n* session based authentication\n* scheduling job queue (for async jobs)\n* react-hapines\n* sass loader, node sass\n* react-ga\n\n## Extra features\n* [hails](https://github.com/eseom/hails) - Django style Hapi module structure\n* custom console execution with the context\n```bash\nyarn hails exec items get # see src/server/items/command.js\n```\n\n## Usage\n**development**\n\n```bash\ngit clone https://github.com/eseom/hapi-react-fullstack-boilerplate.git \u003cproject\u003e\ncd \u003cproject\u003e\nyarn\ncp settings.sample.js settings.js\nvim settings.js (edit database connection or something)\nyarn hails db:upgrade # for db migration\nyarn dev\n```\n\n**db**\n```bash\nyarn hails db:create # create a sequelize migration file in db/migrations/\nyarn hails db:up # process pending migrations\nyarn hails db:down # revert the last migration\nyarn hails db:status # show migration status\n```\n\n**testing**\n\n```bash\nyarn test\nyarn test:node\nyarn test:node:watch\n```\n\n**production**\n\n```bash\nyarn build\n\n# acording to settings.js\n[PORT=4000 ] \\\n  DATABASE_URL=postgres://\u003cusername\u003e@\u003chostname\u003e:\u003cport\u003e/\u003cdbname\u003e \\\n  REDIS_URL=redis://:\u003cpassword\u003e@\u003chostname\u003e:\u003cport\u003e/\u003cdatabase_number\u003e \\\n  yarn start\n```\n\n**API Interface**\n\n    Path: /documentation\n\n## Editor Configuration\n- **vscode**\n```\ncode --install-extension dbaeumer.vscode-eslint\n```\n- **Atom**\n```bash\napm install editorconfig es6-javascript atom-ternjs javascript-snippets linter linter-eslint language-babel autocomplete-modules file-icons\n```\n\n## Todo\n* [ ] oauth2 authentication...\n\n## License\nThe MIT License (MIT)\n\nCopyright (c) 2015 Roberto Ortis\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n## Reference\n\n** initially forked from**\n\n* [react-redux-universal-hot-example](https://github.com/erikras/react-redux-universal-hot-example) by [erikras](https://github.com/erikras)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feseom%2Fhapi-react-fullstack-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feseom%2Fhapi-react-fullstack-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feseom%2Fhapi-react-fullstack-boilerplate/lists"}