{"id":20618805,"url":"https://github.com/anthhon/modelify","last_synced_at":"2025-06-23T18:07:45.308Z","repository":{"id":198966441,"uuid":"695416604","full_name":"Anthhon/Modelify","owner":"Anthhon","description":"Web Django models generator","archived":false,"fork":false,"pushed_at":"2023-10-08T00:33:41.000Z","size":67,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-06T19:44:37.908Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://anthhon.github.io/Modelify/","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/Anthhon.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":"2023-09-23T05:41:11.000Z","updated_at":"2023-10-07T23:34:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"e0d41859-12f9-44f7-8a6b-d9bb931d88d3","html_url":"https://github.com/Anthhon/Modelify","commit_stats":null,"previous_names":["anthhon/modelify"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Anthhon/Modelify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anthhon%2FModelify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anthhon%2FModelify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anthhon%2FModelify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anthhon%2FModelify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Anthhon","download_url":"https://codeload.github.com/Anthhon/Modelify/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Anthhon%2FModelify/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261528672,"owners_count":23172753,"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":"2024-11-16T12:09:32.165Z","updated_at":"2025-06-23T18:07:45.274Z","avatar_url":"https://github.com/Anthhon.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Project logo](logo.png)\n\n# Modelify: Simplifying Django Model Creation\n\n`Modelify` is a user-friendly web tool designed to streamline the creation and building process of model.py files in Django applications. This tool features a simple web interface that utilizes `JavaScript` to generate Django model code effortlessly.\n\n# Features/Project Roadmap\n\n- [X] Generate basic code to `classes` and `fields`\n- [ ] Implement error checking for empty or invalid fields/options\n\n# Getting Started\n\nTo access Modelify and start creating your Django models, [visit the Modelify Webpage.](https://anthhon.github.io/Modelify/)\n\n### How to Use Modelify\n\n- Create a New Class:\n- Click on the \"New Class\" button to initiate the creation of a new class.\n- Enter the class name when prompted. Ensure it is unique and meaningful.\n\n### Add Fields:\n\n- Click the \"New Field\" button within the class section to add fields to your class.\n- Specify the field name, type, size (if applicable), default value, and other properties as needed.\n- For Foreign Key relationships, select the related class from the dropdown menu.\n\n### Delete Classes or Fields:\n\n- To remove a class or field, click the trash icon next to the class or field you want to delete.\n\n### Generate Django Model Code:\n\n- Once you have defined your classes and fields, click the \"Generate Models\" button.\n- The generated Django model code will be displayed in the code section below.\n\n# Example generated code:\n\n```python\nclass Products(models.Model):\n    name = models.CharField(max_length=64, primary_key=False, null=False, blank=False, unique=True)\n    type = models.ForeignKey(ProductsTypes, on_delete=models.CASCADE, primary_key=False, null=False, blank=False, unique=False)\n\n    def __str__(self):\n        return self.Products\n\nclass ProductsTypes(models.Model):\n    type = models.CharField(max_length=32, primary_key=False, null=False, blank=False, unique=True)\n\n    def __str__(self):\n        return self.ProductsTypes\n\n```\n\n# License \n\nThis program is distributed under the MIT License. See the [LICENSE](./LICENSE) file for more details.\n\nFeel free to customize the documentation further based on your project's specific requirements and audience. Let me know if you need more assistance!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthhon%2Fmodelify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanthhon%2Fmodelify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthhon%2Fmodelify/lists"}