{"id":20980534,"url":"https://github.com/hyperjumptech/esignature","last_synced_at":"2025-12-29T23:07:28.474Z","repository":{"id":102269505,"uuid":"590270932","full_name":"hyperjumptech/esignature","owner":"hyperjumptech","description":"Hyperjump's electronic document signing application","archived":false,"fork":false,"pushed_at":"2023-02-01T02:13:52.000Z","size":10261,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-01-20T06:33:09.118Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hyperjumptech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2023-01-18T02:37:25.000Z","updated_at":"2023-01-18T04:12:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"b6e04f91-2c71-4a9e-b241-27e6b540a612","html_url":"https://github.com/hyperjumptech/esignature","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/hyperjumptech%2Fesignature","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperjumptech%2Fesignature/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperjumptech%2Fesignature/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperjumptech%2Fesignature/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyperjumptech","download_url":"https://codeload.github.com/hyperjumptech/esignature/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243382935,"owners_count":20282051,"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-19T05:29:03.600Z","updated_at":"2025-12-29T23:07:28.468Z","avatar_url":"https://github.com/hyperjumptech.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# esignature\n\nThis is a hyperjump's electronic signature open source application\n\n## Project Structure\n\nThis project is generated based on jhipster framework. Node is required for generation and recommended for development. `package.json` is always generated for a better development experience with prettier, commit hooks, scripts and so on.\n\n`/src/*` structure follows default Java structure.\n\n- `/src/main/java` - java files.\n- `/src/main/webapp/app` - is where the react files placed. To create or modify the ui you need to add changes to the files in this folder.\n- `.jhipster/*.json` - JHipster entity configuration files\n- `npmw` - wrapper to use locally installed npm.\n  JHipster installs Node and npm locally using the build tool by default. This wrapper makes sure npm is installed locally and uses it avoiding some differences different versions can cause. By using `./npmw` instead of the traditional `npm` you can configure a Node-less environment to develop or test your application.\n- `/src/main/docker` - Docker configurations for the application and services that the application depends on\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```\nnpm install\n```\n\n2. [Postgresql][]: We are using potsgres database to save the application data.\n\nBefore running the application you need to create a database instance with the name `esignature`.\nYou can set also the user and password for this database instance. To connect the database with\nthe application you need to setup the configuration in `/src/main/resources/config/application-dev.yml` file.\nset the database configuration in the datasource section :\n\n```\ndatasource:\n    type: com.zaxxer.hikari.HikariDataSource\n    url: jdbc:postgresql://localhost:5432/esignature\n    username:\n    password:\n    hikari:\n      poolName: Hikari\n      auto-commit: false\n```\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```\n./mvnw\nnpm start\n```\n\n`./mvnw` command will run auto populate for all the tables and default data needed by the application. It will also run the java version of the application. You can access the application in this address `http://localhost:8080`\n\n`npm start` will be needed if you want to have that auto-refresher whenever there are any changes applied to the files. You can access the application with auto refresh in this address `http://localhost:9001`\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```\nnpm install --save --save-exact leaflet\n```\n\nTo benefit from TypeScript type definitions from [DefinitelyTyped][] repository in development, you would run following command:\n\n```\nnpm install --save-dev --save-exact @types/leaflet\n```\n\nThen you would import the JS and CSS files specified in library's installation instructions so that [Webpack][] knows about them:\nNote: There are still a few other things remaining to do for Leaflet that we won't detail here.\n\n## Building for production\n\n### Packaging as jar\n\nTo build the final jar and optimize the esignature application for production, run:\n\n```\n./mvnw -Pprod clean verify\n```\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```\njava -jar target/*.jar\n```\n\nThen navigate to [http://localhost:8080](http://localhost:8080) in your browser.\n\n### Packaging as war\n\nTo package your application as a war in order to deploy it to an application server, run:\n\n```\n./mvnw -Pprod,war clean verify\n```\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\nNote: we have turned off authentication in [src/main/docker/sonar.yml](src/main/docker/sonar.yml) for out of the box experience while trying out SonarQube, for real use cases turn it back on.\n\nYou can run a Sonar analysis with using the [sonar-scanner](https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner) or by using the maven plugin.\n\nThen, run a Sonar analysis:\n\n```\n./mvnw -Pprod clean verify sonar:sonar\n```\n\nIf you need to re-run the Sonar phase, please be sure to specify at least the `initialize` phase since Sonar properties are loaded from the sonar-project.properties file.\n\n```\n./mvnw initialize sonar:sonar\n```\n\n## Using Docker to simplify development (optional)\n\nYou can use Docker to improve your esignature 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 postgresql database in a docker container, run:\n\n```\ndocker-compose -f src/main/docker/postgresql.yml up -d\n```\n\nTo stop it and remove the container, run:\n\n```\ndocker-compose -f src/main/docker/postgresql.yml down\n```\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```\nnpm run java:docker\n```\n\nOr build a arm64 docker image when using an arm64 processor os like MacOS with M1 processor family running:\n\n```\nnpm run java:docker:arm64\n```\n\nThen run:\n\n```\ndocker-compose -f src/main/docker/app.yml up -d\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperjumptech%2Fesignature","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperjumptech%2Fesignature","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperjumptech%2Fesignature/lists"}