{"id":20608941,"url":"https://github.com/mybatis/jpetstore-6","last_synced_at":"2025-05-13T21:04:17.855Z","repository":{"id":6872647,"uuid":"8121696","full_name":"mybatis/jpetstore-6","owner":"mybatis","description":"A web application built on top of MyBatis 3, Spring 3 and Stripes","archived":false,"fork":false,"pushed_at":"2025-04-28T03:36:50.000Z","size":4788,"stargazers_count":582,"open_issues_count":4,"forks_count":1522,"subscribers_count":71,"default_branch":"master","last_synced_at":"2025-04-28T12:04:42.464Z","etag":null,"topics":["java","samples"],"latest_commit_sha":null,"homepage":"http://www.mybatis.org/spring/sample.html","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mybatis.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,"zenodo":null}},"created_at":"2013-02-10T11:13:55.000Z","updated_at":"2025-04-28T03:36:20.000Z","dependencies_parsed_at":"2023-02-13T07:00:56.797Z","dependency_job_id":"6cd0f5ea-fed2-4c6d-b129-1877af6b87e4","html_url":"https://github.com/mybatis/jpetstore-6","commit_stats":{"total_commits":914,"total_committers":19,"mean_commits":48.10526315789474,"dds":0.711159737417943,"last_synced_commit":"8ef0d5b623d9a2cc1dcefa4181f0a8228060c835"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mybatis%2Fjpetstore-6","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mybatis%2Fjpetstore-6/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mybatis%2Fjpetstore-6/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mybatis%2Fjpetstore-6/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mybatis","download_url":"https://codeload.github.com/mybatis/jpetstore-6/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251311330,"owners_count":21569009,"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":["java","samples"],"created_at":"2024-11-16T10:12:17.113Z","updated_at":"2025-04-28T12:04:49.885Z","avatar_url":"https://github.com/mybatis.png","language":"Java","readme":"MyBatis JPetStore\n=================\n\n[![Java CI](https://github.com/mybatis/jpetstore-6/actions/workflows/ci.yaml/badge.svg)](https://github.com/mybatis/jpetstore-6/actions/workflows/ci.yaml)\n[![Container Support](https://github.com/mybatis/jpetstore-6/actions/workflows/support.yaml/badge.svg)](https://github.com/mybatis/jpetstore-6/actions/workflows/support.yaml)\n[![Coverage Status](https://coveralls.io/repos/github/mybatis/jpetstore-6/badge.svg?branch=master)](https://coveralls.io/github/mybatis/jpetstore-6?branch=master)\n[![License](https://img.shields.io/:license-apache-brightgreen.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)\n\n![mybatis-jpetstore](https://mybatis.org/images/mybatis-logo.png)\n\nJPetStore 6 is a full web application built on top of MyBatis 3, Spring 5 and Stripes.\n\nEssentials\n----------\n\n* [See the docs](http://www.mybatis.org/jpetstore-6)\n\n## Other versions that you may want to know about\n\n- JPetstore on top of Spring, Spring MVC, MyBatis 3, and Spring Security https://github.com/making/spring-jpetstore\n- JPetstore with Vaadin and Spring Boot with Java Config https://github.com/igor-baiborodine/jpetstore-6-vaadin-spring-boot\n- JPetstore on MyBatis Spring Boot Starter https://github.com/kazuki43zoo/mybatis-spring-boot-jpetstore\n\n## Run on Application Server\nRunning JPetStore sample under Tomcat (using the [cargo-maven2-plugin](https://codehaus-cargo.github.io/cargo/Maven2+plugin.html)).\n\n- Clone this repository\n\n  ```\n  $ git clone https://github.com/mybatis/jpetstore-6.git\n  ```\n\n- Build war file\n\n  ```\n  $ cd jpetstore-6\n  $ ./mvnw clean package\n  ```\n\n- Startup the Tomcat server and deploy web application\n\n  ```\n  $ ./mvnw cargo:run -P tomcat90\n  ```\n\n  \u003e Note:\n  \u003e\n  \u003e We provide maven profiles per application server as follow:\n  \u003e\n  \u003e | Profile        | Description |\n  \u003e | -------------- | ----------- |\n  \u003e | tomcat90       | Running under the Tomcat 9.0 |\n  \u003e | tomcat85       | Running under the Tomcat 8.5 |\n  \u003e | tomee80        | Running under the TomEE 8.0(Java EE 8) |\n  \u003e | tomee71        | Running under the TomEE 7.1(Java EE 7) |\n  \u003e | wildfly26      | Running under the WildFly 26(Java EE 8) |\n  \u003e | wildfly13      | Running under the WildFly 13(Java EE 7) |\n  \u003e | liberty-ee8    | Running under the WebSphere Liberty(Java EE 8) |\n  \u003e | liberty-ee7    | Running under the WebSphere Liberty(Java EE 7) |\n  \u003e | jetty          | Running under the Jetty 9 |\n  \u003e | glassfish5     | Running under the GlassFish 5(Java EE 8) |\n  \u003e | glassfish4     | Running under the GlassFish 4(Java EE 7) |\n  \u003e | resin          | Running under the Resin 4 |\n\n- Run application in browser http://localhost:8080/jpetstore/ \n- Press Ctrl-C to stop the server.\n\n## Run on Docker\n```\ndocker build . -t jpetstore\ndocker run -p 8080:8080 jpetstore\n```\nor with Docker Compose:\n```\ndocker compose up -d\n```\n\n## Try integration tests\n\nPerform integration tests for screen transition.\n\n```\n$ ./mvnw clean verify -P tomcat90\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmybatis%2Fjpetstore-6","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmybatis%2Fjpetstore-6","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmybatis%2Fjpetstore-6/lists"}