{"id":23974136,"url":"https://github.com/felipeaz/sqlquery-creator","last_synced_at":"2025-02-24T16:17:48.873Z","repository":{"id":50764462,"uuid":"372057471","full_name":"felipeaz/sqlQuery-creator","owner":"felipeaz","description":"Create a SQL query from a JSON file","archived":false,"fork":false,"pushed_at":"2021-05-30T18:55:44.000Z","size":78,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-07T05:22:03.754Z","etag":null,"topics":["challenge","java","sql"],"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/felipeaz.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":"2021-05-29T19:44:19.000Z","updated_at":"2022-08-02T23:25:59.000Z","dependencies_parsed_at":"2022-09-10T23:40:20.280Z","dependency_job_id":null,"html_url":"https://github.com/felipeaz/sqlQuery-creator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipeaz%2FsqlQuery-creator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipeaz%2FsqlQuery-creator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipeaz%2FsqlQuery-creator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipeaz%2FsqlQuery-creator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/felipeaz","download_url":"https://codeload.github.com/felipeaz/sqlQuery-creator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240511300,"owners_count":19813236,"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":["challenge","java","sql"],"created_at":"2025-01-07T05:21:47.489Z","updated_at":"2025-02-24T16:17:48.853Z","avatar_url":"https://github.com/felipeaz.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sqlQuery-creator\n\nsqlQuery-creator is a command line application which transforms a JSON file into a SQL Query. This project have been built using the concept of ``Domain`` from Domain Driven Design (DDD). A domain represents a ``context`` on the application and it's functionality is only related to it's context.\n\n``This application is built using JDK 16``\n\n### Dependencies\n\nMaven is required to run this project. You can install it using the following command:\n\n``apt install maven``\n\nThis project was built using Maven to manage the application dependencies. The dependency used on this project was ``com.googlecode.json-simple`` to manipulate JSON data.\n\n### Instructions\n\nTo run this application, make sure you have installed maven on your computer, if so, follow the commands bellow:\n\n``make run`` - initialize the application\n\n### Directories\n\n| Dir |Content|\n| --- | --- |\n| src | Application folder |\n| domain | Contains the application modules which were divided in two items: Json and Query  |\n| Json | Contains every action that is related to the JSON file |\n| Query | Contains every action that is responsible to the Query Creation |\n| Utils | Functions that can be util to the current module. |\n| Service | Contains the domain's logic.  |\n| Entity | Contains information about a domain item |\n| Exception | Represents domain's exceptions |\n| Main | Contains the application main file |\n\n\n### JSON Example\n\n````\n{\n\"columns\":[\n    {\n        \"operator\":\"Between\",\n        \"fieldName\":\"Age\",\n        \"fieldValue\":[\n            \"25\",\n            \"30\"\n        ]\n    },\n    {\n        \"operator\":\"Equal\",\n        \"fieldName\":\"Role\",\n        \"fieldValue\":[\n            \"Software Engineer\"\n        ]\n    },\n    {\n        \"operator\":\"GreaterThanOrEqual\",\n        \"fieldName\":\"Salary\",\n        \"fieldValue\":[\n          \"99999.99\"\n        ]\n    },\n    {\n        \"operator\":\"Like\",\n        \"fieldName\":\"Name\",\n        \"fieldValue\":[\n            \"a\"\n        ]\n    }\n  ]\n}\n````\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipeaz%2Fsqlquery-creator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelipeaz%2Fsqlquery-creator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipeaz%2Fsqlquery-creator/lists"}