{"id":21340624,"url":"https://github.com/mintplayer/mintplayer.spark","last_synced_at":"2026-01-30T10:03:09.424Z","repository":{"id":300551448,"uuid":"1006469943","full_name":"MintPlayer/MintPlayer.Spark","owner":"MintPlayer","description":"RAPID development framework","archived":false,"fork":false,"pushed_at":"2026-01-24T12:51:50.000Z","size":253,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-25T00:38:39.671Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/MintPlayer.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-22T10:49:43.000Z","updated_at":"2026-01-24T12:51:28.000Z","dependencies_parsed_at":"2025-06-22T10:56:05.853Z","dependency_job_id":"6e7268e1-e2b1-447d-98b2-d0a97cc53ee7","html_url":"https://github.com/MintPlayer/MintPlayer.Spark","commit_stats":null,"previous_names":["mintplayer/mintplayer.spark"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MintPlayer/MintPlayer.Spark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MintPlayer%2FMintPlayer.Spark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MintPlayer%2FMintPlayer.Spark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MintPlayer%2FMintPlayer.Spark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MintPlayer%2FMintPlayer.Spark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MintPlayer","download_url":"https://codeload.github.com/MintPlayer/MintPlayer.Spark/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MintPlayer%2FMintPlayer.Spark/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28910959,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T08:15:08.179Z","status":"ssl_error","status_checked_at":"2026-01-30T08:14:31.507Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-22T00:52:05.710Z","updated_at":"2026-01-30T10:03:09.418Z","avatar_url":"https://github.com/MintPlayer.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MintPlayer.Spark\n\nA low-code web application framework for .NET that eliminates boilerplate code. Inspired by [Vidyano](https://www.vidyano.com/), Spark uses a PersistentObject pattern to replace traditional DTOs, repositories, and controllers with a single generic middleware.\n\n## Key Features\n\n- **Zero DTOs** - Uses `PersistentObject` as a universal data container\n- **Zero Boilerplate** - Generic middleware handles all CRUD operations\n- **Configuration Over Code** - Entity definitions stored as JSON files, auto-generated from C# classes\n- **Dynamic UI** - Angular frontend automatically renders forms and lists based on entity metadata\n- **RavenDB Integration** - Document database with index support for optimized queries\n\n## Technology Stack\n\n| Component | Technology |\n|-----------|------------|\n| Backend | .NET 10.0 |\n| Frontend | Angular 21 |\n| Database | RavenDB 6.2+ |\n| UI Library | @mintplayer/ng-bootstrap |\n\n## Quick Start\n\n```csharp\n// 1. Configure services\nbuilder.Services.AddSpark(builder.Configuration);\nbuilder.Services.AddScoped\u003cSparkContext, MySparkContext\u003e();\nbuilder.Services.AddSparkActions();\n\n// 2. Configure middleware\napp.UseSpark();\napp.SynchronizeSparkModelsIfRequested\u003cMySparkContext\u003e(args);\napp.CreateSparkIndexes();\napp.UseEndpoints(endpoints =\u003e endpoints.MapSpark());\n```\n\n```csharp\n// 3. Define your context\npublic class MySparkContext : SparkContext\n{\n    public IRavenQueryable\u003cPerson\u003e People =\u003e Session.Query\u003cPerson\u003e();\n}\n```\n\n```bash\n# 4. Generate model files\ndotnet run --spark-synchronize-model\n```\n\n## Project Structure\n\n```\nMintPlayer.Spark/\n├── MintPlayer.Spark/                    # Core framework library\n├── MintPlayer.Spark.Abstractions/       # Shared interfaces and models\n├── MintPlayer.Spark.SourceGenerators/   # Compile-time DI code generation\n├── Demo/\n│   ├── DemoApp/                         # Sample ASP.NET Core + Angular application\n│   └── DemoApp.Library/                 # Shared entity definitions\n└── docs/                                # Documentation\n```\n\n## Documentation\n\n- **[Spark Library Documentation](MintPlayer.Spark/README.md)** - Detailed API reference and usage guide\n- **[Product Requirements Document](docs/PRD.md)** - Full specification and architecture\n\n## Contributing\n\n### Prerequisites\n\n- [.NET 10.0 SDK](https://dotnet.microsoft.com/download)\n- [Node.js 20+](https://nodejs.org/)\n- [RavenDB 6.2+](https://ravendb.net/) (local instance or Docker)\n- IDE: Visual Studio 2025 / VS Code / JetBrains Rider\n\n### Building the Project\n\n```bash\n# Clone the repository\ngit clone https://github.com/MintPlayer/MintPlayer.Spark.git\ncd MintPlayer.Spark\n\n# Build the solution\ndotnet build MintPlayer.Spark.sln\n\n# Build the Angular frontend\ncd Demo/DemoApp/ClientApp\nnpm install\nnpm run build\n```\n\n### Running the Demo Application\n\n```bash\n# Start RavenDB (using Docker)\ndocker run -d -p 8080:8080 -e RAVEN_Security_UnsecuredAccessAllowed=PublicNetwork ravendb/ravendb\n\n# Run the demo application\ncd Demo/DemoApp\ndotnet run\n```\n\nThe application will be available at `https://localhost:5001`.\n\n### Model Synchronization\n\nWhen you modify entity classes, regenerate the JSON model files:\n\n```bash\ncd Demo/DemoApp\ndotnet run --spark-synchronize-model\n```\n\nThis updates files in `App_Data/Model/` based on your SparkContext properties.\n\n### Contribution Workflow\n\n1. **Fork** the repository\n2. **Create a feature branch** from `master`\n   ```bash\n   git checkout -b feature/your-feature-name\n   ```\n3. **Make your changes** following the coding standards below\n4. **Test** your changes with the demo application\n5. **Commit** with clear, descriptive messages\n6. **Push** to your fork\n7. **Open a Pull Request** against `master`\n\n### Coding Standards\n\n- Follow [C# coding conventions](https://docs.microsoft.com/en-us/dotnet/csharp/fundamentals/coding-style/coding-conventions)\n- Use nullable reference types (`\u003cNullable\u003eenable\u003c/Nullable\u003e`)\n- Use `[Register]` and `[Inject]` attributes from MintPlayer.SourceGenerators for DI\n- Add XML documentation comments to public APIs\n- Keep methods focused and testable\n\n### Project Guidelines\n\n- **MintPlayer.Spark** - Core library, no application-specific code\n- **MintPlayer.Spark.Abstractions** - Interfaces and models shared across projects\n- **Demo/DemoApp** - Sample application for testing features\n- **Demo/DemoApp.Library** - Example of shared entity definitions\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmintplayer%2Fmintplayer.spark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmintplayer%2Fmintplayer.spark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmintplayer%2Fmintplayer.spark/lists"}