{"id":19502168,"url":"https://github.com/cyberagent/beez-foundation","last_synced_at":"2025-04-25T23:31:22.928Z","repository":{"id":12604004,"uuid":"15274989","full_name":"CyberAgent/beez-foundation","owner":"CyberAgent","description":"Mock/Static local server for mobile browser faster development. ","archived":false,"fork":false,"pushed_at":"2015-06-01T07:04:43.000Z","size":1097,"stargazers_count":16,"open_issues_count":1,"forks_count":5,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-04T05:11:21.760Z","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":"mozillascience/studyGroup","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CyberAgent.png","metadata":{"files":{"readme":"README.md","changelog":"Changelog","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":"2013-12-18T05:54:01.000Z","updated_at":"2024-09-05T07:19:00.000Z","dependencies_parsed_at":"2022-08-28T11:40:42.661Z","dependency_job_id":null,"html_url":"https://github.com/CyberAgent/beez-foundation","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberAgent%2Fbeez-foundation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberAgent%2Fbeez-foundation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberAgent%2Fbeez-foundation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberAgent%2Fbeez-foundation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CyberAgent","download_url":"https://codeload.github.com/CyberAgent/beez-foundation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250912660,"owners_count":21506865,"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-11-10T22:15:30.231Z","updated_at":"2025-04-25T23:31:22.410Z","avatar_url":"https://github.com/CyberAgent.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"beez-foundation\n====\n\n## About beez-foundation\n\nスマートフォン向けブラウザアプリ開発を迅速に開発・リリースするためのローカルWebサーバーです。\n\n\u003cimg width=\"500px\" height=\"200px\" src=\"https://github.com/CyberAgent/beez-foundation/wiki/images/1.x/top-000.png\"\u003e\n\n## beez-foundationの特徴\n\nbeez-foundationの主な特徴は以下のような特徴を持っています。\n\n### JSONをローカルに置いておくだけでRESTfulなAPIを提供\n\nbeez-foundationにはモックサーバの機能が内蔵されているので、APIの実装を待たずに開発が進められます。\n\nJSONやObjectを返すJavaScriptファイルを記述するだけで、それらをモックデータとして使用しRESTful APIを提供することができます。\n\nもうサーバの実装を待ってフロントの開発が止まる…ということはありません。\n\n### 静的配信サーバ機能\n\nbeez-foundationでは、beezでの開発効率を上げるためにプレコンパイルが必要なファイルを自動でコンパイルしてブラウザではコンパイル後のファイルを使用して画面の確認ができるように設計されています。\n\n- ローカルディレクトリパスを設定しておくだけで、ローカルのファイル/ディレクトリにHTTP経由でアクセスできます。\n    - Mac OS付属の「Web 共有」と同等以上の機能を提供します。\n- _handlebars_ (拡張子 : `.hbs`)を同一フォルダで _precompile_ (拡張子 : `.hbsc.js`) に自動変換します。\n    - 拡張子を `.hbs`にするだけでコンパイルを意識せずに利用することができます。\n- _stylus_ (拡張子 : `.styl`)を _stylesheet_ (拡張子 : `.css`) に自動変換します。\n    - 拡張子を `.styl`にするだけでコンパイルを意識せずに利用することができます。\n\n一度設定ファイルを記述すれば、あとはシームレスにCSSプリプロセッサやテンプレートエンジンを使うことができます。\n\n### Install\n\n```sh\n$ npm install beez-foundation -g\n$ beez-foundation -h\n\n  Usage: beez-foundation [options]\n\n  Options:\n\n    -h, --help            output usage information\n    -V, --version         output the version number\n    -c --config \u003cpath\u003e    server config path(format: json)\n    -s --standalone       default configuration mode\n    -d --debug            debug mode.\n    -a --addmods \u003cvalue\u003e  I want to add a \"/ m\" module. It is more than one can be specified, separated by commas. format) -a dirname:absdirpath:from,... example) -a hoge:/tmp/hoge:\n```\n\n\n## Getting started\n\n**[Wiki : QuickStart](https://github.com/CyberAgent/beez-foundation/wiki/1.x-QuickStart)**\n\n\n\n```sh\n$ cd {Web共有したいディレクトリパス}\n$ beez-foundation -s\n\n## Mode: [Stand-alone]\n\n##\n## Start\n## \t\tBeez Foundation Servers!!\n##\n##\n## \tMock Server [ off ]\n##\n## \tExpress server listening on port:1109\n## \t\tStatic Server start [ success ]\n## \t\tcompress: [on]\n## \t\tPlease try to access. \n## \t\t\thttp://0.0.0.0:1109\n##\n\n```\n\n**open browser: [http://0.0.0.0:1109](http://0.0.0.0:1109)**\n\n\u003cimg width=\"300px\" height=\"100px\" src=\"https://github.com/CyberAgent/beez-foundation/wiki/images/1.x/top-000.png\"\u003e\n\n\n### ブラウザからのオペレーション\n\n一度 `beez-foundation` が立ち上がれば、ブラウザから以下のような操作が簡単にできるので開発効率が上がります。\n\n- ファイル/ディレクトリをブラウザから表示・操作することが可能です。\n![static viewer](https://raw.github.com/CyberAgent/beez-foundation/master/design/beez-foundation.png)\n- ビルド・デプロイなどのコマンドオペレーションをブラウザから操作することが可能です。\n![operation](https://raw.github.com/CyberAgent/beez-foundation/master/design/beez-foundation_ops.png)\n- モックデータをブラウザ上から確認する事が可能です。\n![mock data viewer](https://raw.github.com/CyberAgent/beez-foundation/master/design/beez-foundation_mock.png)\n\n\n\n## beez との連携\n\n[beez](https://github.com/CyberAgent/beez)と連携することを前提として開発されています。\n\n詳しくは [github : beez](https://github.com/CyberAgent/beez) を参照ください。\n\n\n## Requirements\n\nbeez-foundationが依存しているライブラリは以下になります。\n\n- [node.js](http://nodejs.org/)\n- [beezlib](https://github.com/CyberAgent/beezlib)\n- [bootstrap](http://twitter.github.io/bootstrap/)\n- [bytes](https://npmjs.org/package/bytes)\n- [colors](https://npmjs.org/package/colors)\n- [commander](https://npmjs.org/package/commander)\n- [handlebars](http://handlebarsjs.com/)\n- [hbs](https://github.com/donpark/hbs)\n- [moment](https://npmjs.org/package/moment)\n- [pause](https://npmjs.org/package/pause)\n- [send](https://npmjs.org/package/send)\n- [RequireJS](http://requirejs.org/)\n- [Stylus](http://learnboost.github.com/stylus/)\n- [nib](https://github.com/visionmedia/nib)\n- [Underscore.js](http://underscorejs.org/)\n- [express](https://npmjs.org/package/express)\n- [mocha](https://npmjs.org/package/mocha)\n- [should](https://npmjs.org/package/should)\n- [plato](https://github.com/jsoverson/plato)\n- [jshint](https://npmjs.org/package/jshint)\n- [jsdoc3](https://github.com/jsdoc3/jsdoc)\n- [suns.js](https://github.com/CyberAgent/suns.js)\n- [Zepto.js](http://zeptojs.com/)\n- [jsonminify](https://github.com/fkei/JSON.minify)\n\n\u003e Versionについては、`package.json` を参照ください。一部はフロントのライブラリになります。\n\n## Contributing\n\n- Kei FUNAGAYAMA - [@fkei](https://twitter.com/fkei) [github](https://github.com/fkei)\n- Kazuma MISHIMAGI - [@maginemu](https://twitter.com/maginemu) [github](https://github.com/maginemu)\n- HIRAKI Satoru - [github](https://github.com/Layzie)\n- Yuhei Aihara - [github](https://github.com/yuhei-a)\n\n## Copyright\n\nCyberAgent, Inc. All rights reserved.\n\n## LICENSE\n\n@see : [LICENSE](https://raw.github.com/CyberAgent/beez-foundation/master/LICENSE)\n\n```\nThe MIT License (MIT)\n\nCopyright © CyberAgent, Inc. All Rights Reserved.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n```\n\n\n[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/CyberAgent/beez-foundation/trend.png)](https://bitdeli.com/free \"Bitdeli Badge\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyberagent%2Fbeez-foundation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcyberagent%2Fbeez-foundation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyberagent%2Fbeez-foundation/lists"}