{"id":27157211,"url":"https://github.com/kevelopment/nx-nestjs-react-starter","last_synced_at":"2025-04-08T20:53:59.307Z","repository":{"id":55399971,"uuid":"398773622","full_name":"kevelopment/nx-nestjs-react-starter","owner":"kevelopment","description":"Basic monorepo starter for an NX managed NestJS and React application with a shared lib.","archived":false,"fork":false,"pushed_at":"2022-11-15T13:02:42.000Z","size":116,"stargazers_count":35,"open_issues_count":6,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-17T04:48:49.973Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/kevelopment.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}},"created_at":"2021-08-22T10:37:48.000Z","updated_at":"2024-04-17T02:05:02.000Z","dependencies_parsed_at":"2023-01-23T02:30:08.777Z","dependency_job_id":null,"html_url":"https://github.com/kevelopment/nx-nestjs-react-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevelopment%2Fnx-nestjs-react-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevelopment%2Fnx-nestjs-react-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevelopment%2Fnx-nestjs-react-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevelopment%2Fnx-nestjs-react-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kevelopment","download_url":"https://codeload.github.com/kevelopment/nx-nestjs-react-starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247927284,"owners_count":21019506,"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":"2025-04-08T20:53:58.728Z","updated_at":"2025-04-08T20:53:59.302Z","avatar_url":"https://github.com/kevelopment.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NX NestJS React starter\n\nBootstrapped, ready-for-production (Mono-)Repository for TypeScript environments using NestJS + React.\nThis project was generated using [Nx](https://nx.dev).\n\n🔎 **Smart, Extensible Build Framework**\n\n## Project setup / initialization\n\nThis project setup was created by executing folling steps\n\n- install nx globally `npm i nx`\n- install dependencies `npm install` or `npm i`\n\n### adjust package.json\n\nsupport linting and testing for all applications at once  \n`\"test\": \"npx nx run-many --all --target=test --parallel\"`  \n`\"lint\": \"nx workspace-lint \u0026\u0026 npx nx run-many --all --target=lint --parallel\"`\n\nadd separate run \u0026 build scripts for backend and frontend  \n`\"start:client\": \"nx run client:serve\"`  \n`\"start:api\": \"nx run api:serve\"`\n\n## Adding capabilities to your workspace\n\nNx supports many plugins which add capabilities for developing different types of applications and different tools.\n\nThese capabilities include generating applications, libraries, etc as well as the devtools to test, and build projects as well.\n\n- [React](https://reactjs.org)\n  - `npm install --save-dev @nrwl/react`\n- [Nest](https://nestjs.com)\n  - `npm install --save-dev @nrwl/nest`\n- [Node](https://nodejs.org)\n  - `npm install --save-dev @nrwl/node`\n\nThere are also many [community plugins](https://nx.dev/community) you could add.\n\n## Generate an application\n\nRun `nx g @nrwl/react:app my-app` to generate an application.\n\n\u003e You can use any of the plugins above to generate applications as well.\n\nWhen using Nx, you can create multiple applications and libraries in the same workspace.\n\n## Generate a library\n\nRun `nx g @nrwl/react:lib my-lib` to generate a react library.\nRun `nx g @nrwl/node:library mylib` to create a new node library.\n\n\u003e You can also use any of the plugins above to generate libraries as well.\n\nLibraries are shareable across libraries and applications. They can be imported from `@nx-nestjs-react-starter/mylib`.\n\n## Development server\n\nRun `nx serve client` for a frontend dev server. Navigate to http://localhost:4200/.\nRun `nx serve api` for a backend dev server. Navigate to http://localhost:3333/api.  \nThe app will automatically reload if you change any of the source files.\n\n## Code scaffolding\n\nRun `nx g @nrwl/react:component my-component --project=my-app` to generate a new component.\n\n## Build\n\nRun `nx build api` or `nx build client` respectively to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.\n\n## Running unit tests\n\nRun `nx test api` or `nx test client` to execute the unit tests via [Jest](https://jestjs.io).\n\nRun `nx affected:test` to execute the unit tests affected by a change.\n\n## Running end-to-end tests\n\nRun `ng e2e client` to execute the end-to-end tests via [Cypress](https://www.cypress.io).\n\nRun `nx affected:e2e` to execute the end-to-end tests affected by a change.\n\n## Understand your workspace\n\nRun `nx dep-graph` to see a diagram of the dependencies of your projects.\n\n## Further help\n\nVisit the [Nx Documentation](https://nx.dev) to learn more.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevelopment%2Fnx-nestjs-react-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevelopment%2Fnx-nestjs-react-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevelopment%2Fnx-nestjs-react-starter/lists"}