{"id":15775244,"url":"https://github.com/pascalgrimaud/jhipster190104","last_synced_at":"2025-03-31T14:41:53.064Z","repository":{"id":86175075,"uuid":"164072567","full_name":"pascalgrimaud/jhipster190104","owner":"pascalgrimaud","description":null,"archived":false,"fork":false,"pushed_at":"2019-01-04T07:41:35.000Z","size":1666,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-11T17:03:06.526Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pascalgrimaud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-01-04T07:18:38.000Z","updated_at":"2019-01-04T07:41:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"36e0cb4d-3068-4468-9ff8-06534ff73742","html_url":"https://github.com/pascalgrimaud/jhipster190104","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/pascalgrimaud%2Fjhipster190104","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pascalgrimaud%2Fjhipster190104/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pascalgrimaud%2Fjhipster190104/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pascalgrimaud%2Fjhipster190104/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pascalgrimaud","download_url":"https://codeload.github.com/pascalgrimaud/jhipster190104/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246484243,"owners_count":20785036,"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-04T17:00:29.960Z","updated_at":"2025-03-31T14:41:53.041Z","avatar_url":"https://github.com/pascalgrimaud.png","language":"Java","readme":"# jhipsterSampleApplication\n\nThis application was generated using JHipster 5.7.2, you can find documentation and help at [https://www.jhipster.tech/documentation-archive/v5.7.2](https://www.jhipster.tech/documentation-archive/v5.7.2).\n\n## Development\n\nBefore you can build this project, you must install and configure the following dependencies on your machine:\n\n1.  [Node.js][]: We use Node to run a development web server and build the project.\n    Depending on your system, you can install Node either from source or as a pre-packaged bundle.\n\nAfter installing Node, you should be able to run the following command to install development tools.\nYou will only need to run this command when dependencies change in [package.json](package.json).\n\n    npm install\n\nWe use npm scripts and [Webpack][] as our build system.\n\nRun the following commands in two separate terminals to create a blissful development experience where your browser\nauto-refreshes when files change on your hard drive.\n\n    ./mvnw\n    npm start\n\nNpm is also used to manage CSS and JavaScript dependencies used in this application. You can upgrade dependencies by\nspecifying a newer version in [package.json](package.json). You can also run `npm update` and `npm install` to manage dependencies.\nAdd the `help` flag on any command to see how you can use it. For example, `npm help update`.\n\nThe `npm run` command will list all of the scripts available to run for this project.\n\n### Service workers\n\nService workers are commented by default, to enable them please uncomment the following code.\n\n-   The service worker registering script in index.html\n\n```html\n\u003cscript\u003e\n    if ('serviceWorker' in navigator) {\n        navigator.serviceWorker.register('./service-worker.js').then(function() {\n            console.log('Service Worker Registered');\n        });\n    }\n\u003c/script\u003e\n```\n\nNote: workbox creates the respective service worker and dynamically generate the `service-worker.js`\n\n### Managing dependencies\n\nFor example, to add [Leaflet][] library as a runtime dependency of your application, you would run following command:\n\n    npm install --save --save-exact leaflet\n\nTo benefit from TypeScript type definitions from [DefinitelyTyped][] repository in development, you would run following command:\n\n    npm install --save-dev --save-exact @types/leaflet\n\nThen you would import the JS and CSS files specified in library's installation instructions so that [Webpack][] knows about them:\nEdit [src/main/webapp/app/vendor.ts](src/main/webapp/app/vendor.ts) file:\n\n```\nimport 'leaflet/dist/leaflet.js';\n```\n\nEdit [src/main/webapp/content/css/vendor.css](src/main/webapp/content/css/vendor.css) file:\n\n```\n@import '~leaflet/dist/leaflet.css';\n```\n\nNote: there are still few other things remaining to do for Leaflet that we won't detail here.\n\nFor further instructions on how to develop with JHipster, have a look at [Using JHipster in development][].\n\n### Using angular-cli\n\nYou can also use [Angular CLI][] to generate some custom client code.\n\nFor example, the following command:\n\n    ng generate component my-component\n\nwill generate few files:\n\n    create src/main/webapp/app/my-component/my-component.component.html\n    create src/main/webapp/app/my-component/my-component.component.ts\n    update src/main/webapp/app/app.module.ts\n\n## Building for production\n\nTo optimize the jhipsterSampleApplication application for production, run:\n\n    ./mvnw -Pprod clean package\n\nThis will concatenate and minify the client CSS and JavaScript files. It will also modify `index.html` so it references these new files.\nTo ensure everything worked, run:\n\n    java -jar target/*.war\n\nThen navigate to [http://localhost:8080](http://localhost:8080) in your browser.\n\nRefer to [Using JHipster in production][] for more details.\n\n## Testing\n\nTo launch your application's tests, run:\n\n    ./mvnw clean test\n\n### Client tests\n\nUnit tests are run by [Jest][] and written with [Jasmine][]. They're located in [src/test/javascript/](src/test/javascript/) and can be run with:\n\n    npm test\n\nFor more information, refer to the [Running tests page][].\n\n### Code quality\n\nSonar is used to analyse code quality. You can start a local Sonar server (accessible on http://localhost:9001) with:\n\n```\ndocker-compose -f src/main/docker/sonar.yml up -d\n```\n\nThen, run a Sonar analysis:\n\n```\n./mvnw -Pprod clean test sonar:sonar\n```\n\nFor more information, refer to the [Code quality page][].\n\n## Using Docker to simplify development (optional)\n\nYou can use Docker to improve your JHipster development experience. A number of docker-compose configuration are available in the [src/main/docker](src/main/docker) folder to launch required third party services.\n\nFor example, to start a mysql database in a docker container, run:\n\n    docker-compose -f src/main/docker/mysql.yml up -d\n\nTo stop it and remove the container, run:\n\n    docker-compose -f src/main/docker/mysql.yml down\n\nYou can also fully dockerize your application and all the services that it depends on.\nTo achieve this, first build a docker image of your app by running:\n\n    ./mvnw package -Pprod verify jib:dockerBuild\n\nThen run:\n\n    docker-compose -f src/main/docker/app.yml up -d\n\nFor more information refer to [Using Docker and Docker-Compose][], this page also contains information on the docker-compose sub-generator (`jhipster docker-compose`), which is able to generate docker configurations for one or several JHipster applications.\n\n## Continuous Integration (optional)\n\nTo configure CI for your project, run the ci-cd sub-generator (`jhipster ci-cd`), this will let you generate configuration files for a number of Continuous Integration systems. Consult the [Setting up Continuous Integration][] page for more information.\n\n[jhipster homepage and latest documentation]: https://www.jhipster.tech\n[jhipster 5.7.2 archive]: https://www.jhipster.tech/documentation-archive/v5.7.2\n[using jhipster in development]: https://www.jhipster.tech/documentation-archive/v5.7.2/development/\n[using docker and docker-compose]: https://www.jhipster.tech/documentation-archive/v5.7.2/docker-compose\n[using jhipster in production]: https://www.jhipster.tech/documentation-archive/v5.7.2/production/\n[running tests page]: https://www.jhipster.tech/documentation-archive/v5.7.2/running-tests/\n[code quality page]: https://www.jhipster.tech/documentation-archive/v5.7.2/code-quality/\n[setting up continuous integration]: https://www.jhipster.tech/documentation-archive/v5.7.2/setting-up-ci/\n[node.js]: https://nodejs.org/\n[yarn]: https://yarnpkg.org/\n[webpack]: https://webpack.github.io/\n[angular cli]: https://cli.angular.io/\n[browsersync]: http://www.browsersync.io/\n[jest]: https://facebook.github.io/jest/\n[jasmine]: http://jasmine.github.io/2.0/introduction.html\n[protractor]: https://angular.github.io/protractor/\n[leaflet]: http://leafletjs.com/\n[definitelytyped]: http://definitelytyped.org/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpascalgrimaud%2Fjhipster190104","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpascalgrimaud%2Fjhipster190104","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpascalgrimaud%2Fjhipster190104/lists"}