{"id":21447046,"url":"https://github.com/cbozan/employer-worker-registration-system","last_synced_at":"2025-07-14T19:31:44.330Z","repository":{"id":48523199,"uuid":"460518682","full_name":"cbozan/employer-worker-registration-system","owner":"cbozan","description":"An accounting program that contains employee and employer information and records of relationships between them.","archived":false,"fork":false,"pushed_at":"2023-08-22T15:20:59.000Z","size":327,"stargazers_count":41,"open_issues_count":4,"forks_count":31,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-08-22T18:55:30.370Z","etag":null,"topics":["accounting","gui-application","java","java-database-application","java-gui-application","java-login-page","java-project","java-projects","java-swing-application","java-swing-applications","java-swing-project","login-system","postgresql","search-box"],"latest_commit_sha":null,"homepage":"","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/cbozan.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}},"created_at":"2022-02-17T16:35:06.000Z","updated_at":"2023-08-12T02:28:31.000Z","dependencies_parsed_at":"2023-02-15T11:31:35.139Z","dependency_job_id":null,"html_url":"https://github.com/cbozan/employer-worker-registration-system","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbozan%2Femployer-worker-registration-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbozan%2Femployer-worker-registration-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbozan%2Femployer-worker-registration-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbozan%2Femployer-worker-registration-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cbozan","download_url":"https://codeload.github.com/cbozan/employer-worker-registration-system/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225994869,"owners_count":17556830,"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":["accounting","gui-application","java","java-database-application","java-gui-application","java-login-page","java-project","java-projects","java-swing-application","java-swing-applications","java-swing-project","login-system","postgresql","search-box"],"created_at":"2024-11-23T03:08:43.346Z","updated_at":"2024-11-23T03:08:43.836Z","avatar_url":"https://github.com/cbozan.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# employer-worker-registration-system\nAn accounting program that contains employee and employer information and records of relationships between them.\n\n---\n\n# v1 branch\n## Screenshot\n\u003cp align=\"center\"\u003e\u003cstrong\u003eLogin\u003c/strong\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/71611710/157845415-c8f293df-5e1a-4ac5-a066-1971ee3ab6ae.png\"\u003e\u003c/p\u003e\n\n| **Homepage**            | **Employer registration**|  **Worker registration**\n:------------------------:|:------------------------:|:-------------------------:\n![2-home_page](https://user-images.githubusercontent.com/71611710/157845986-0b99502d-ec6a-411c-999c-d37859dcf47e.png) | ![3-new_employer](https://user-images.githubusercontent.com/71611710/157849241-2a4ea23f-f195-4152-ab57-b2da20a1ea87.png)  |  ![3-new_worker](https://user-images.githubusercontent.com/71611710/157849850-5c6cfda1-05cd-4164-8287-474496cd189e.png)\n\n| **Search Box**  | **Registration document**\n:----------------:|:-------------------------:\n![5-view_worker](https://user-images.githubusercontent.com/71611710/157850829-c03944a1-bd1b-41d6-875b-61f8d8ce4d62.png) | ![7-new_record_optionpane](https://user-images.githubusercontent.com/71611710/158039292-30c103d1-bdaa-4f3f-bd36-342815fd6efd.png)\n\n---\n\n## Requirements\nPostgresql is used in this program. You can find the necessary jar file for postgresql java connection here:\n\n\u003e https://jdbc.postgresql.org/download.html\n\nOr you can use a different database but for this to work, change:\n```\nDriverManager.getConnection(\"jdbc:database://host:port/database-name\", \"user-name\", \"password\");\n```\nfor postgresql:\n```\nDriverManager.getConnection(\"jdbc:postgresql://localhost:5432/db\", \"postgres\", \"password\");\n```\n---\n\n**And finally, in order not to get a database error, you should add the following tables to the database:**\n```\nCREATE TABLE admin(id smallserial primary key not null, username varchar, password varchar);\nCREATE TABLE employer(employer_id serial primary key not null, name varchar not null, surname varchar not null, business varchar, phonenumber varchar);\nCREATE TABLE worker(worker_id serial primary key not null, name varchar not null, surname varchar not null, phone_number varchar);\nCREATE TABLE worker_record(worker_record_id serial primary key not null, worker_id integer references worker(worker_id), employer_id integer references employer(employer_id), date varchar(10) not null, wage smallint not null);\nCREATE TABLE employer_record(employer_record_id serial primary key not null, employer_id integer references employer(employer_id), date varchar(10) not null, note varchar(255), number_worker smallint not null, wage smallint not null);\nCREATE TABLE worker_payment(worker_payment_id serial primary key not null, worker_id integer references worker(worker_id), employer_id integer references employer(employer_id), date varchar(10) not null, paid integer not null);\nCREATE TABLE employer_payment(employer_payment_id serial primary key not null, employer_id integer references employer(employer_id), date varchar(10) not null, paid integer not null);\nCREATE TABLE worker_payment(worker_payment_id serial primary key not null, worker_id integer references worker(worker_id), employer_id integer references employer(employer_id), date varchar(10), not null, paid integer not null);\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbozan%2Femployer-worker-registration-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcbozan%2Femployer-worker-registration-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbozan%2Femployer-worker-registration-system/lists"}