{"id":18686656,"url":"https://github.com/danijeldragicevic/simple-atm-system","last_synced_at":"2026-04-28T21:33:41.790Z","repository":{"id":172155995,"uuid":"534625424","full_name":"danijeldragicevic/simple-atm-system","owner":"danijeldragicevic","description":"Desktop application who simulate software on ATM.","archived":false,"fork":false,"pushed_at":"2022-12-30T13:51:45.000Z","size":12296,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-18T19:08:28.100Z","etag":null,"topics":["hyperskill-solutions","java-11","luhn-algorithm","sqlite"],"latest_commit_sha":null,"homepage":"","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/danijeldragicevic.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":"2022-09-09T12:02:34.000Z","updated_at":"2023-03-13T22:21:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"b884b329-c63f-4826-be0e-e78080a18181","html_url":"https://github.com/danijeldragicevic/simple-atm-system","commit_stats":null,"previous_names":["danijeldragicevic/simple-atm-system"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/danijeldragicevic/simple-atm-system","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danijeldragicevic%2Fsimple-atm-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danijeldragicevic%2Fsimple-atm-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danijeldragicevic%2Fsimple-atm-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danijeldragicevic%2Fsimple-atm-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danijeldragicevic","download_url":"https://codeload.github.com/danijeldragicevic/simple-atm-system/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danijeldragicevic%2Fsimple-atm-system/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32400864,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["hyperskill-solutions","java-11","luhn-algorithm","sqlite"],"created_at":"2024-11-07T10:28:27.426Z","updated_at":"2026-04-28T21:33:41.752Z","avatar_url":"https://github.com/danijeldragicevic.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple ATM system\nJava application who simulate software on ATM.\nApplication is able to create and delete accounts.\nIt is also able to add income and transfer money to other accounts.\n\nWhen creating accounts, Luhn algorithm is used to validate a credit card number.\n\n# Technology\n- Java 11\n- SQLite\n\n# To run application:\nThere are no any build automation tool used. We have to compile and run manually. :)\n\nTo compile files, navigate to the project root directory and run following command:\n\u003e javac -cp ./libs/sqlite-jdbc-3.39.2.1.jar -d ./out/simple-atm-system -sourcepath . src/atm/*.java src/atm/*/*.java\n\nTo run application, navigate to the project root directory and run following command:\n\u003e java -cp ./libs/sqlite-jdbc-3.39.2.1.jar:./out/simple-atm-system atm.Main\n\n# Examples\nThe symbol **\u003e** represents the user input.\n\nCreate and log into a new account:\n```\n1. Create account\n2. Log into account\n0. Exit\n\u003e 1\n\nYour card has been created\nYour card number:\n4000007794531423\nYour card PIN:\n5423\n\n1. Create account\n2. Log into account\n0. Exit\n\u003e 2\n\nEnter your card number:\n4000007794531423\nEnter your PIN:\nXXX\n\nWrong card number or PIN!\n\n1. Create account\n2. Log into account\n0. Exit\n\u003e 2\n\nEnter your card number:\n4000007794531423\nEnter your PIN:\n5423\n\nYou have successfully logged in!\n\n1. Balance\n2. Add income\n3. Do transfer\n4. Close account\n5. Log out\n0. Exit\n\u003e 0\n\nBye!\n```\n\nCheck balance and add income to existing account:\n```\n1. Create account\n2. Log into account\n0. Exit\n\u003e 2\n\nEnter your card number:\n4000007794531423\nEnter your PIN:\n5423\n\nYou have successfully logged in!\n\n1. Balance\n2. Add income\n3. Do transfer\n4. Close account\n5. Log out\n0. Exit\n\u003e 1\n\nBalance: 0\n\n1. Balance\n2. Add income\n3. Do transfer\n4. Close account\n5. Log out\n0. Exit\n\u003e 2\n\nEnter income:\n100\nIncome was added!\n\n1. Balance\n2. Add income\n3. Do transfer\n4. Close account\n5. Log out\n0. Exit\n\u003e 1\n\nBalance: 100\n\n1. Balance\n2. Add income\n3. Do transfer\n4. Close account\n5. Log out\n0. Exit\n\u003e 0\n\nBye!\n```\nTransfer money to another account:\n```\n1. Create account\n2. Log into account\n0. Exit\n\u003e 1\n\nYour card has been created\nYour card number:\n4000007439330173\nYour card PIN:\n4419\n\n1. Create account\n2. Log into account\n0. Exit\n\u003e 2\n\nEnter your card number:\n4000007794531423\nEnter your PIN:\n5423\n\nYou have successfully logged in!\n\n1. Balance\n2. Add income\n3. Do transfer\n4. Close account\n5. Log out\n0. Exit\n\u003e 3\n\nTransfer\nEnter card number:\n4000007794531423\nYou can't transfer money to the same account!\n\n1. Balance\n2. Add income\n3. Do transfer\n4. Close account\n5. Log out\n0. Exit\n\u003e 3\n\nTransfer\nEnter card number:\n4000007439330174\nProbably you made a mistake in the card number. Please try again!\n\n1. Balance\n2. Add income\n3. Do transfer\n4. Close account\n5. Log out\n0. Exit\n\u003e 3\n\nTransfer\nEnter card number:\n4000007439330173\nEnter how much money you want to transfer:\n200\nNot enough money!\n\n1. Balance\n2. Add income\n3. Do transfer\n4. Close account\n5. Log out\n0. Exit\n\u003e 3\n\nTransfer\nEnter card number:\n4000007439330173\nEnter how much money you want to transfer:\n100\nSuccess!\n\n1. Balance\n2. Add income\n3. Do transfer\n4. Close account\n5. Log out\n0. Exit\n\u003e 1\n\nBalance: 0\n\n1. Balance\n2. Add income\n3. Do transfer\n4. Close account\n5. Log out\n0. Exit\n\u003e 0\n\nBye!\n```\nDelete existing account:\n```\n1. Create account\n2. Log into account\n0. Exit\n\u003e 2\n\nEnter your card number:\n4000007794531423\nEnter your PIN:\n5423\n\nYou have successfully logged in!\n\n1. Balance\n2. Add income\n3. Do transfer\n4. Close account\n5. Log out\n0. Exit\n\u003e 4\nThe account has been closed!\n\n\nYou have successfully logged out!\n\n1. Create account\n2. Log into account\n0. Exit\n\u003e 2\n\nEnter your card number:\n4000007794531423\nEnter your PIN:\n5423\n\nWrong card number or PIN!\n\n1. Create account\n2. Log into account\n0. Exit\n\u003e 0\n\nBye!\n```\n# Licence\n[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanijeldragicevic%2Fsimple-atm-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanijeldragicevic%2Fsimple-atm-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanijeldragicevic%2Fsimple-atm-system/lists"}