{"id":20788879,"url":"https://github.com/erkobridee/nx-todos","last_synced_at":"2026-04-25T19:31:22.141Z","repository":{"id":41067339,"uuid":"241147838","full_name":"erkobridee/nx-todos","owner":"erkobridee","description":"ToDos app using the Nx (Extensible Dev Tools for Monorepos)","archived":false,"fork":false,"pushed_at":"2023-12-15T17:43:15.000Z","size":3365,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-12T00:25:50.706Z","etag":null,"topics":["backend","frontend","monorepos","nrwl","nx","nx-workspaces","react","todosapp","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/erkobridee.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}},"created_at":"2020-02-17T15:56:54.000Z","updated_at":"2023-09-04T21:09:55.000Z","dependencies_parsed_at":"2023-12-15T18:51:44.265Z","dependency_job_id":null,"html_url":"https://github.com/erkobridee/nx-todos","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/erkobridee/nx-todos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erkobridee%2Fnx-todos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erkobridee%2Fnx-todos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erkobridee%2Fnx-todos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erkobridee%2Fnx-todos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erkobridee","download_url":"https://codeload.github.com/erkobridee/nx-todos/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erkobridee%2Fnx-todos/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32274981,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T18:29:39.964Z","status":"ssl_error","status_checked_at":"2026-04-25T18:29:32.149Z","response_time":59,"last_error":"SSL_read: 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":["backend","frontend","monorepos","nrwl","nx","nx-workspaces","react","todosapp","typescript"],"created_at":"2024-11-17T15:17:41.526Z","updated_at":"2026-04-25T19:31:22.126Z","avatar_url":"https://github.com/erkobridee.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NxTodos\n\nToDos project example\n\nThis project was generated using [Nx](https://nx.dev) ([v14.5.10](https://github.com/nrwl/nx/releases/tag/14.5.10))\n\n- ToDos examples\n\n  - [How To Build a React To-Do App with React Hooks | DigitalOcean](https://www.digitalocean.com/community/tutorials/how-to-build-a-react-to-do-app-with-react-hooks)\n\n  - [Build a To-Do application Using Django and React | Scotch.io](https://scotch.io/tutorials/build-a-to-do-application-using-django-and-react)\n\nℹ️\u0026nbsp;\u0026nbsp;use the node.js v16 LTS\n\n## Goal\n\n- test a monorepository structure in a more entreprise scenario\n\n## Documentation\n\n- [Nx](docs/nx.md)\n\n- [Project creation commands (steps)](docs/project-creation-commands.md)\n\n## Project dependencies graph\n\n![nx dep-graph](docs/assets/nx-dep-graph.png)\n\n## Findings\n\n- Developing a project which contains an api and a frontend application, you need to have two terminals to run each project, for example, in one terminal you run `nx serve api` and in another one, you run `nx serve frontend`\n\n- It's really interesting breakdown the application into\n  smaller libs, so we have better code isolation, the possibility to run tests on that code and also using the `nx dep-graph` have a better understanding of the project code and how the parts of the project relate to each other\n\n  - followed some ideas from [Using Nx at Enterprises](https://nx.dev/guides/monorepo-nx-enterprise#using-nx-at-enterprises)\n\n- The libraries created by the Nx CLI has a pre-defined code structure ([more information about it here](https://nx.dev/react-tutorial/08-create-libs#react-nx-tutorial---step-8-create-libs))\n\n  - The main concept of a library adopted is to be a \"Black Box\", which what's exposed from the library is defined on the `src/index.ts`\n\n  - It's possible to have more flexibility and expose the whole content from the library (that's really useful to define a UI components library). To do that, you need to reorganize the `src/` folder in the what that you want to access and change the `{project_root_folder}/tsconfig.json` the `paths` configuration alias to be something like\n\n```\n{\n  ...\n  \"paths\": {\n    ...\n    \"@namespace/ui-components/*\": [\"libs/ui-components/src/*\"]\n    ...\n  }\n  ...\n}\n```\n\n- When you run the build Nx CLI command, for example, `nx build app-name` that will generate the output of the build on the directory `dist/app/app-name`\n\n- Running the frontend and backend together, based on the following [tweet](https://twitter.com/juristr/status/1290398409283850243)\n\n  - `nx run-many --target=serve --projects=todos,api --parallel=true`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferkobridee%2Fnx-todos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferkobridee%2Fnx-todos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferkobridee%2Fnx-todos/lists"}