{"id":26665482,"url":"https://github.com/elsehow/frp-msgboard","last_synced_at":"2025-03-25T17:37:19.416Z","repository":{"id":28726948,"uuid":"32248117","full_name":"elsehow/frp-msgboard","owner":"elsehow","description":"attempting to build a full example app with frp","archived":false,"fork":false,"pushed_at":"2015-03-17T07:31:54.000Z","size":312,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-15T07:13:45.448Z","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/elsehow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-15T06:26:45.000Z","updated_at":"2015-03-17T07:31:54.000Z","dependencies_parsed_at":"2022-09-05T00:11:01.261Z","dependency_job_id":null,"html_url":"https://github.com/elsehow/frp-msgboard","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/elsehow%2Ffrp-msgboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elsehow%2Ffrp-msgboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elsehow%2Ffrp-msgboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elsehow%2Ffrp-msgboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elsehow","download_url":"https://codeload.github.com/elsehow/frp-msgboard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245511399,"owners_count":20627385,"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-03-25T17:37:18.915Z","updated_at":"2025-03-25T17:37:19.409Z","avatar_url":"https://github.com/elsehow.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# frp-msgboard\nattempting to build a full example app with frp\n\n\n## Getting Started\n\nInstall node.js, and grunt-cli globally.\n\n```\nnpm install -g grunt-cli\n```\n\nClone/Download the repository, and from its directory, install the dependencies:\n```\nnpm install\n```\n\nYou are now ready to run the build and the tests:\n```\n# build one time\ngrunt \n# continously watch for changes and build when they occur\ngrunt watch\n```\n\n## Documentation\n\n### Project structure\n```\n- src          : application code\n  - browser    : browser only code\n  - common     : both for node.js and browser\n  - node       : node.js only code\n- test\n  - specs      : jasmine test specs\n    - browser  : run with jasmine browser only\n    - common   : run with jasmine + jasmine-node\n    - node     : ruh with jasmine-node only\n- resources    : resource files\n- libs         : external libraries\n- dist         : build output\nGruntFile.js   : buld configuration\n\n\n```\n\n### Running tests\n\nTests can be run in 3 modes:\n\n1. Jasmine-node:\n\n    The only tests that are using the source code directly (i.e. pre build). They are run as part of the main build, or you can run `jasmine_node`\n  \n2. Jasmine through automated PhantomJS browser\n \n    Runs with the browserified code, using a headless PhantomJS server, as part of the build, or by `grunt jasmine`\n    To run:\n\n3. Jasmine in the browser\n\n    Runs with the browserified code. Build the project and open the test bootstrap page with any browser, i.e. `firefox test/SpecRunner.html`\n\n### Running the \"Application\"\n\nOne of the browserify targets creates a bundle just for the \"src/browser/App\" module (and its dependencies).\n\nThe module is aliased as \"SampleApp\", so it can be loaded and run by an external html file.\nA client could load it in javascript using:\n```\n        var sampleApp = require('SampleApp');\n        sampleApp.main();\n```\n\nYou can see the application running at [test/AppRunner.html](test/AppRunner.html)\n\n### Notes\n * lodash is packaged from the npm package to the built app_bundle. Alternatives would be packaging it in a different bundle, but as a browserified file, or loading it as an external script file, and using its global variable. This is currently (AFAIK) not supported in browserify, but can be achieved through a hack to the code. This is currently commented out in HelloWorld.js\n * Jquery is loaded as a window global and not as a module for require(). An alternative would be to use a jquery version which supports being exposed as a commonJS module, or using browserify-shim to wrap it so it could be used with a require().\n\n\n\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\n\n_Also, please don't edit files in the \"dist\" subdirectory as they are generated via Grunt._\n\n## Release History\n_(Nothing yet)_\n\n## License\nMIT\nforked from [browserify-jasmine-node-example](https://github.com/amitayd/grunt-browserify-jasmine-node-example) (c) 2013 Amitay Dobo  \nall elsehow commits (c) elsehow 2015\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felsehow%2Ffrp-msgboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felsehow%2Ffrp-msgboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felsehow%2Ffrp-msgboard/lists"}