{"id":17743121,"url":"https://github.com/julien-r44/factorify","last_synced_at":"2025-05-07T14:21:12.111Z","repository":{"id":59642882,"uuid":"538091215","full_name":"Julien-R44/factorify","owner":"Julien-R44","description":"🏭 Framework-agnostic model factory system for clean testing","archived":false,"fork":false,"pushed_at":"2024-01-28T12:11:39.000Z","size":1245,"stargazers_count":21,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-05T20:21:36.653Z","etag":null,"topics":["factory","factory-model","japa","laravel","nodejs","testing"],"latest_commit_sha":null,"homepage":"https://factorify.julr.dev","language":"TypeScript","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/Julien-R44.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","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},"funding":{"github":["julien-r44"],"polar":"Julien-R44"}},"created_at":"2022-09-18T11:44:07.000Z","updated_at":"2024-11-18T09:25:13.000Z","dependencies_parsed_at":"2024-01-28T13:52:29.109Z","dependency_job_id":null,"html_url":"https://github.com/Julien-R44/factorify","commit_stats":{"total_commits":63,"total_committers":1,"mean_commits":63.0,"dds":0.0,"last_synced_commit":"4e3e789d9c7d830a1328d0b06061d86493ec69b1"},"previous_names":["julien-r44/factorio"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Julien-R44%2Ffactorify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Julien-R44%2Ffactorify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Julien-R44%2Ffactorify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Julien-R44%2Ffactorify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Julien-R44","download_url":"https://codeload.github.com/Julien-R44/factorify/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252892512,"owners_count":21820649,"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":["factory","factory-model","japa","laravel","nodejs","testing"],"created_at":"2024-10-26T05:42:41.291Z","updated_at":"2025-05-07T14:21:12.083Z","avatar_url":"https://github.com/Julien-R44.png","language":"TypeScript","funding_links":["https://github.com/sponsors/julien-r44","https://polar.sh/Julien-R44"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/8337858/192137193-cd5727f8-37c3-4523-aeac-52a7c1e3a801.png\"\u003e\n\u003c/p\u003e\n\n\n# @julr/factorify\n\nFramework-agnostic model factory system for clean testing. \n\nBuilt-on top of [Knex](https://knexjs.org) + [Faker](https://fakerjs.dev/), and **heavily** inspired by [Adonis.js](https://adonisjs.com/) and [Laravel](https://laravel.com/).\n\n\u003e Have you ever written tests, in which the first 15-20 lines of each test are dedicated to just setting up the database state by using multiple models? With Factorify, you can extract all this set up to a dedicated file and then write the bare minimum code to set up the database state.\n\n## Features\n- Support for multiple databases ( SQLite, Postgres, MySQL, MSSQL ... )\n- Integrations with [test runners](#integrations)\n- Define variations of your model using [states](#factory-states)\n- Define [relations](#relationships)\n- Generate in-memory instances\n\n## Getting Started\n\nPlease follow the documentation at [factorify.julr.dev](https://factorify.julr.dev/) !\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulien-r44%2Ffactorify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjulien-r44%2Ffactorify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulien-r44%2Ffactorify/lists"}