{"id":20581231,"url":"https://github.com/jonathas/startup-stages","last_synced_at":"2026-04-21T06:31:00.871Z","repository":{"id":204975462,"uuid":"713064087","full_name":"jonathas/startup-stages","owner":"jonathas","description":"A GraphQL API for documenting the stages and steps that a startup needs to go through","archived":false,"fork":false,"pushed_at":"2023-11-13T22:06:49.000Z","size":1350,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-01-16T22:37:32.251Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/jonathas.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}},"created_at":"2023-11-01T19:05:16.000Z","updated_at":"2023-11-01T21:01:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"77dc0bd1-3ef3-4e66-b901-f2bfc85b36f5","html_url":"https://github.com/jonathas/startup-stages","commit_stats":null,"previous_names":["jonathas/startup-stages"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathas%2Fstartup-stages","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathas%2Fstartup-stages/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathas%2Fstartup-stages/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathas%2Fstartup-stages/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonathas","download_url":"https://codeload.github.com/jonathas/startup-stages/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242206045,"owners_count":20089255,"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-16T06:27:32.471Z","updated_at":"2026-04-21T06:30:55.850Z","avatar_url":"https://github.com/jonathas.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Startup Stages\n\n[![SonarCloud Status](https://sonarcloud.io/api/project_badges/measure?project=jonathas_startup-stages\u0026metric=alert_status)](https://sonarcloud.io/summary/new_code?id=jonathas_startup-stages)\n[![SonarCloud Bugs](https://sonarcloud.io/api/project_badges/measure?project=jonathas_startup-stages\u0026metric=bugs)](https://sonarcloud.io/component_measures/metric/reliability_rating/list?id=jonathas_startup-stages)\n[![SonarCloud Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=jonathas_startup-stages\u0026metric=vulnerabilities\u0026token=ac8a1bf1b29237031faaaa56ba3334801a774020)](https://sonarcloud.io/component_measures/metric/security_rating/list?id=Cjonathas_startup-stages)\n\nA GraphQL API for documenting the stages and steps that a startup needs to go through\n\n![Startup Stages](/docs/images/overview.png)\n\n## Features\n\n- Every phase can have an unlimited amount of tasks\n- If the startup accomplishes all tasks in the phase, it's marked as done and unlocks the next phase\n- Tasks cannot be marked as completed unless all tasks in the previous phase were completed\n- It's possible to reopen (undo) a task\n\n## Tech\n\n- Node.js\n- GraphQL (Apollo)\n- TypeScript\n- Fastify\n- Nexus\n\n## Installation\n\n```bash\n$ npm install\n```\n\n## Running the project\n\nYou can run the project in development mode with live-reloading using the following command:\n\n```bash\n$ npm run start:dev\n```\n\nFor production the following should be run:\n\n```bash\n$ npm start\n```\n\n## Running the tests\n\nYou can run the unit tests with the following command:\n\n```bash\n$ npm t\n```\n\nFor generating a code coverage report:\n\n```bash\n$ npm run test:cov\n```\n\n## Way of working\n\nThe [husky](https://www.npmjs.com/package/husky) lib is used for enforcing some rules for local development using Git hooks.\n\n- On every commit:\n  - The commit message is validated against [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/)\n  - The staged files are linted with several [eslint](https://www.npmjs.com/package/eslint) rules\n- Before every push to the repository, the unit tests will run and should pass for the push to proceed.\n\n## Database\n\nThe diagram below is parsed via [mermaid](https://mermaid.js.org/syntax/entityRelationshipDiagram.html).\n\n```mermaid\nerDiagram\n  phases ||--o{ tasks : contains\n\n  phases {\n    id int\n    order int\n    title varchar(255)\n    created_at timestamp\n    updated_at timestamp\n  }\n  tasks {\n    id int\n    title varchar(255)\n    is_done boolean\n    phase_id int\n    created_at timestamp\n    updated_at timestamp\n  }\n```\n\n## Accessing the API\n\n### Postman collection\n\nA [Postman](https://www.postman.com/downloads/) collection can be found inside of the docs directory. You can just import it to Postman and start using it to interact with the API.\n\n### Apollo Sandbox\n\nYou can also use Apollo Sandbox for acessing the API. Just run the project in development mode and then access http://localhost:3000/graphql in the browser\n\n![Apollo Sandbox](/docs/images/apollo-sandbox.png)\n\n## Known limitations\n\n- The progress is currently only saved in memory (not database)\n- There's no pagination\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathas%2Fstartup-stages","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonathas%2Fstartup-stages","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathas%2Fstartup-stages/lists"}