{"id":18512183,"url":"https://github.com/raksa/java-spring-for-account","last_synced_at":"2026-04-20T10:03:32.470Z","repository":{"id":83183690,"uuid":"87527554","full_name":"raksa/Java-Spring-for-account","owner":"raksa","description":"Account management with Spring and MySQL, (Ajax, Rest-api, CRUD and i18n)","archived":false,"fork":false,"pushed_at":"2017-06-09T15:39:47.000Z","size":226,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-29T09:18:10.933Z","etag":null,"topics":["ant","hibernate","i18n","java-8","maven","mysql","oracle-11g","rest-api","spring-framework"],"latest_commit_sha":null,"homepage":"","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/raksa.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":"2017-04-07T09:11:17.000Z","updated_at":"2023-10-01T07:04:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"6292e1ec-ce3e-4238-baf2-a03bc53c0af9","html_url":"https://github.com/raksa/Java-Spring-for-account","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/raksa/Java-Spring-for-account","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raksa%2FJava-Spring-for-account","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raksa%2FJava-Spring-for-account/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raksa%2FJava-Spring-for-account/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raksa%2FJava-Spring-for-account/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raksa","download_url":"https://codeload.github.com/raksa/Java-Spring-for-account/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raksa%2FJava-Spring-for-account/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32042294,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ant","hibernate","i18n","java-8","maven","mysql","oracle-11g","rest-api","spring-framework"],"created_at":"2024-11-06T15:33:10.692Z","updated_at":"2026-04-20T10:03:32.453Z","avatar_url":"https://github.com/raksa.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/raksa/account.svg?branch=master)](https://travis-ci.org/raksa/account)\n\n# Account management with Spring and MySQL or Oracle XE, (CRUD and i18n)\nMySQL is default database, \n\nFor Oracle XE choice let got to:\n* change configuration in `account/src/main/resources/application.properties`\n* change `SequenceGenerator` for each model in `account/src/main/java/net/k4us/account/model`\n* call for database Oracle XE\n\n\n## Prerequisites for current success test\n- JDK 1.8 or later\n- Maven 3 or later\n- MySQL 5.6 or later\n- Oracle XE 11g\n- Apache Ant 1.10.1\n\n## Stack\n- Spring MVC\n- Spring Security\n- Spring Data JPA\n- Maven\n- JSP\n- MySQL\n- Oracle XE\n\n## Call for Database MySQL\n* run ant task to auto generate database with new user and database\n```\n$ ant db_mysql_drop_user\n$ ant db_mysql_create_user\n$ ant db_mysql\n```\n* or run ant task to auto generate database with existing user and database in (properties)\n```\n$ ant db_mysql\n```\n## Call for Database Oracle XE\n* in case of using Oracle XE, need to install maven dependency provider for oracle first\n\nFor Windows\n```\n\u003e mvn install:install-file -Dfile=C:\\oraclexe\\app\\oracle\\product\\11.2.0\\server\\jdbc\\lib\\ojdbc6.jar\n      -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0 -Dpackaging=jar\n```\nFor Linux\n```\n$ mvn install:install-file -Dfile=/u01/app/oracle/product/11.2.0/xe/jdbc/lib/ojdbc6.jar\n      -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0 -Dpackaging=jar\n```\n* run ant task to auto generate database with new user\n```\n$ ant db_oracle_user\n$ ant db_oracle\n```\n* or run ant task to auto generate database with existing user in (properties)\n```\n$ ant db_oracle\n```\n\n## Test\n```\n$ mvn test\n```\n\n## Build war\n```\n$ mvn package\n```\n\n## TODO\n* register new user using email or phone\n* confirm via email or phone\n* login by email or phone\n* control user's role\n\n## Others\n* fyi: test mail by using [hMailServer](https://www.hmailserver.com/) =\u003e create domaim `mail.local` =\u003e create users `sender` and `receiver`\n* fyi: import data using CSV (need to set `auto_increment` manually)\n```\n$ mysqlimport --ignore-lines=1 --fields-terminated-by=, --local -u \"user_name\" -p \"db_name\" databases/user_account.csv\n```\n* welcome for any help\n\n## Screenshots\n![login.PNG](https://raw.githubusercontent.com/raksa/account/master/screenshots/login.PNG)\n\n![welcome.PNG](https://raw.githubusercontent.com/raksa/account/master/screenshots/welcome.PNG)\n\n![sent-mail.PNG](https://raw.githubusercontent.com/raksa/account/master/screenshots/sent-mail.PNG)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraksa%2Fjava-spring-for-account","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraksa%2Fjava-spring-for-account","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraksa%2Fjava-spring-for-account/lists"}