{"id":29436875,"url":"https://github.com/stone-foundation/stone-js-starters","last_synced_at":"2025-09-14T03:13:45.306Z","repository":{"id":240338983,"uuid":"802352053","full_name":"stone-foundation/stone-js-starters","owner":"stone-foundation","description":"Official Stone.js starter templates used by the Stone CLI to scaffold basic, standard, and full-featured apps for microservices and React. Designed to accelerate development across the Continuum Architecture.","archived":false,"fork":false,"pushed_at":"2025-06-21T04:21:17.000Z","size":10999,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-13T05:18:55.902Z","etag":null,"topics":["aws-lambda","context-aware","continuum-architecture","csr","javascript","microservice","official-stonejs","scaffold","spa","ssr","stonejs","typescript"],"latest_commit_sha":null,"homepage":"https://stonejs.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/stone-foundation.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-05-18T04:14:55.000Z","updated_at":"2025-06-21T04:21:19.000Z","dependencies_parsed_at":"2024-06-08T14:23:49.800Z","dependency_job_id":"76e3c453-2f1d-4a21-a9dd-0f16b51281c3","html_url":"https://github.com/stone-foundation/stone-js-starters","commit_stats":null,"previous_names":["stonemjs/starters"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stone-foundation/stone-js-starters","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stone-foundation%2Fstone-js-starters","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stone-foundation%2Fstone-js-starters/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stone-foundation%2Fstone-js-starters/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stone-foundation%2Fstone-js-starters/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stone-foundation","download_url":"https://codeload.github.com/stone-foundation/stone-js-starters/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stone-foundation%2Fstone-js-starters/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275055698,"owners_count":25397713,"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","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["aws-lambda","context-aware","continuum-architecture","csr","javascript","microservice","official-stonejs","scaffold","spa","ssr","stonejs","typescript"],"created_at":"2025-07-13T05:06:55.720Z","updated_at":"2025-09-14T03:13:45.272Z","avatar_url":"https://github.com/stone-foundation.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stone.js - Starters\n\n[![License: MIT](https://img.shields.io/npm/l/@stone-js/starters)](https://opensource.org/licenses/MIT)\n[![Maintenance](https://img.shields.io/maintenance/yes/2025)](https://stonejs.dev)\n[![Used by Stone CLI](https://img.shields.io/badge/Used%20by-Stone%20CLI-blue)](https://github.com/stone-foundation/stone-js-cli)\n\nThis repository contains official **starter templates** for Stone.js applications.\n\n--- \n\n## Overview\n\nIt is used internally by the Stone CLI to generate scaffolded projects for both **microservices** and **frontend React apps**, with three predefined levels of complexity: **basic**, **standard**, and **full**.\n\n## Available Starters\n\nEach starter reflects a different level of complexity and domain (microservice or React), with both declarative and imperative styles available. You can pick the one that matches your architecture preferences and scale needs.\n\n### Microservice Starters\n\n| Name                           | Description                                                        |\n| ------------------------------ | ------------------------------------------------------------------ |\n| `basic-service-declarative`    | Minimal Stone.js microservice using class and decorators           |\n| `basic-service-imperative`     | Minimal functional microservice with handler and blueprint         |\n| `standard-service-declarative` | Adds routing, DI, and hooks with a clean declarative structure     |\n| `standard-service-imperative`  | Functional routing setup with middleware and service container     |\n| `full-service-declarative`     | Production-grade setup: lifecycle hooks, DI, error handling, tests |\n| `full-service-imperative`      | Complete functional microservice with config, tests, and events    |\n\n### React App Starters\n\n| Name                         | Description                                                              |\n| ---------------------------- | ------------------------------------------------------------------------ |\n| `basic-react-declarative`    | Minimal React + Stone.js (SPA/SSR-ready) using class-based API           |\n| `basic-react-imperative`     | Minimal React app using functional API and manual config                 |\n| `standard-react-declarative` | Adds layout, routing, and lifecycle via decorators                       |\n| `standard-react-imperative`  | Function-based setup with routing, layout system, and render control     |\n| `full-react-declarative`     | Enterprise-ready app with head config, hydration, and complete structure |\n| `full-react-imperative`      | Full functional React app with SSR, hooks, tests, and platform config    |\n\nYou can combine complexity level (`basic`, `standard`, `full`), domain (`react`, `service`), and style (`declarative`, `imperative`) to find the right starter, for example: `standard-react-imperative`.\n\n\n## How It's Used\n\nThese starters are **not meant to be installed manually**.\n\nInstead, the `@stone-js/cli` automatically pulls from this repository during:\n\n```bash\nnpm create @stone-js\n````\n\nor\n\n```bash\nstone init\n```\n\nThe CLI fetches the appropriate template based on user choices and sets up a ready-to-run project in seconds.\n\n## Starter Structure\n\nEach starter is a self-contained folder containing:\n\n* `app/`, `asset/`, `public/`, `tests/` depending on the type\n* Minimal `stone.config.mjs` or framework config\n* Preset integration (e.g. adapters, blueprint, lifecycle)\n* Preconfigured TypeScript + Vitest (for standard/full)\n* Working example of event handler or route\n\n## Maintaining the Starters\n\nTo update or add a new starter:\n\n1. Fork or clone this repository.\n2. Add or modify the corresponding folder (e.g., `react-full`, `micro-basic`).\n3. Keep external dependencies minimal.\n4. Test the template using the CLI locally.\n5. Submit a PR following the [Contributing Guide](./CONTRIBUTING.md).\n\n\u003e The Stone CLI will always fetch the latest `main` branch when scaffolding.\n\n## Why Three Levels?\n\nStone.js follows a **progressive complexity** approach.\nThese templates help developers grow their app without needing to eject or reconfigure from scratch.\n\n* **Basic**: Hello world in 10 seconds.\n* **Standard**: Real-world app features with good defaults.\n* **Full**: Production-grade architecture with opinions.\n\n## Learn More\n\nThis package is part of the Stone.js ecosystem, a modern JavaScript framework built around the Continuum Architecture.\n\nExplore the full documentation: [https://stonejs.dev](https://stonejs.dev)\n\n## Contributing\n\nSee [Contributing Guide](https://github.com/stone-foundation/stone-js-starters/blob/main/CONTRIBUTING.md)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstone-foundation%2Fstone-js-starters","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstone-foundation%2Fstone-js-starters","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstone-foundation%2Fstone-js-starters/lists"}