{"id":28577677,"url":"https://github.com/mastercard/atm-locations-reference-app","last_synced_at":"2025-06-11T00:39:10.211Z","repository":{"id":42552222,"uuid":"74102726","full_name":"Mastercard/atm-locations-reference-app","owner":"Mastercard","description":"This repository showcases a reference implementation for ATM Locations using APIs from Mastercard Developers.","archived":false,"fork":false,"pushed_at":"2023-03-23T16:07:23.000Z","size":821,"stargazers_count":10,"open_issues_count":4,"forks_count":10,"subscribers_count":21,"default_branch":"master","last_synced_at":"2024-04-16T10:43:11.609Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.mastercardlabs.com/ref-impl-atm-locations/","language":"JavaScript","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/Mastercard.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}},"created_at":"2016-11-18T06:42:40.000Z","updated_at":"2024-04-16T10:43:11.610Z","dependencies_parsed_at":"2023-01-29T08:00:13.106Z","dependency_job_id":null,"html_url":"https://github.com/Mastercard/atm-locations-reference-app","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mastercard%2Fatm-locations-reference-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mastercard%2Fatm-locations-reference-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mastercard%2Fatm-locations-reference-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mastercard%2Fatm-locations-reference-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mastercard","download_url":"https://codeload.github.com/Mastercard/atm-locations-reference-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mastercard%2Fatm-locations-reference-app/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259177361,"owners_count":22817349,"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-06-11T00:38:50.067Z","updated_at":"2025-06-11T00:39:10.187Z","avatar_url":"https://github.com/Mastercard.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ATM Locations Reference Implementation\n\nThis repository showcases a reference implementation for ATM Locations using APIs from [Mastercard Developers](https://developer.mastercard.com).\n\nTry the [demo](https://www.mastercardlabs.com/ref-impl-atm-locations/).\n\n**Note**: The demo uses live ATM locations data and therefore it is restricted to New York, NY 10011, United States.\n\n## Frameworks / Libraries used\n- [Spring Framework](https://projects.spring.io/spring-framework/) 3.2.17\n- [jQuery](https://jquery.com/)  3.1.1\n- [sanitize](https://jonathantneal.github.io/sanitize.css/) 4.1.0\n\n## Requirements\n- Java 7 and above\n- Set up the `JAVA_HOME` environment variable to match the location of your Java installation.\n\n## Setup\n1. Create an account at [Mastercard Developers](https://developer.mastercard.com).\n2. Create a new project and add `Locations` API to your project. A `.p12` file is downloaded automatically. **Note**: On Safari, the file name will be `Unknown`. Rename it to a .p12 extension.\n3. Copy the downloaded `.p12` file to `src/main/resources`.\n4. Open `src/main/resources/mastercard-api.properties` and configure:\n  - `mastercard.api.debug` - `true` if you need console logging, otherwise `false`.\n  - `mastercard.api.p12.path` - Path to keystore (.p12). Uses Spring's resource strings.\n  - `mastercard.api.consumer.key` - Consumer key. Copy this from \"My Keys\" on your project page\n  - `mastercard.api.key.alias` - Key alias. Default key alias for sandbox is `keyalias`.\n  - `mastercard.api.keystore.password` - Keystore password. Default keystore password for sandbox project is `keystorepassword`.\n  - `mastercard.api.sandbox` - `true` if you are using sandbox environment, otherwise `false`.\n5. Get a Google Maps API key at [Google Maps APIs](https://developers.google.com/maps/documentation/javascript/get-api-key#get-an-api-key).\n6. Open `src/main/resources/google-maps.properties` and configure:\n  - `google.maps.api.key` - This value is automatically applied to src/main/frontend/index.html during the maven build process.\n\n## Build and Run\n\n\u003e Windows: `mvnw.cmd clean tomcat7:run-war`\n\n\u003e Linux / Mac: `./mvnw clean tomcat7:run-war`\n\nOpen [http://localhost:9090/ref-impl-atm-locations/](http://localhost:9090/ref-impl-atm-locations/).\n\n## Deploying to your own server\n\n\u003e Windows: `mvnw.cmd clean package`\n\n\u003e Linux / Mac: `./mvnw clean package`\n\nDeploy `ref-impl-atm-locations.war` in `target/` directory to your container.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmastercard%2Fatm-locations-reference-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmastercard%2Fatm-locations-reference-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmastercard%2Fatm-locations-reference-app/lists"}