{"id":13598338,"url":"https://github.com/jiayisheji/AngularNest-Fullstack-CNode","last_synced_at":"2025-04-10T09:30:57.278Z","repository":{"id":35910611,"uuid":"181687428","full_name":"jiayisheji/AngularNest-Fullstack-CNode","owner":"jiayisheji","description":"A fullstack JavaScript cnode project","archived":false,"fork":false,"pushed_at":"2022-06-02T22:34:39.000Z","size":942,"stargazers_count":16,"open_issues_count":3,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-24T15:41:47.986Z","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/jiayisheji.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}},"created_at":"2019-04-16T12:43:57.000Z","updated_at":"2023-04-01T13:43:35.000Z","dependencies_parsed_at":"2022-08-26T17:31:42.778Z","dependency_job_id":null,"html_url":"https://github.com/jiayisheji/AngularNest-Fullstack-CNode","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiayisheji%2FAngularNest-Fullstack-CNode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiayisheji%2FAngularNest-Fullstack-CNode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiayisheji%2FAngularNest-Fullstack-CNode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiayisheji%2FAngularNest-Fullstack-CNode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jiayisheji","download_url":"https://codeload.github.com/jiayisheji/AngularNest-Fullstack-CNode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248191652,"owners_count":21062546,"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-08-01T17:00:51.779Z","updated_at":"2025-04-10T09:30:56.673Z","avatar_url":"https://github.com/jiayisheji.png","language":"TypeScript","funding_links":[],"categories":["资源"],"sub_categories":[],"readme":"# Angular-Nest-Fullstack-CNode\n\nA simple application demonstrating [Angular](https://github.com/angular/angular) (SPA, SSR) the basic usage of permissions with [NestJS](https://github.com/nestjs/nest) (JWT, Passport, Github, User, Group, Permission) based on [CNode](https://cnodejs.org) template\n\n## Related Technology\n\n- [NestJS](https://github.com/nestjs/nest) - a JS backend framework providing architecture out of the box with a syntax similar to Angular\n- [Angular](https://github.com/angular/angular) - a JS frontend framework created by Google\n- [Angular Universal](https://github.com/angular/universal) - a JS frontend framework created by Google\n- [Material-ui](https://material.angular.io/) - Material Design components for Angular\n- [TypeScript](https://github.com/Microsoft/TypeScript) - reactive extensions for JavaScript\n- [RxJS](https://github.com/Reactive-Extensions/RxJS) - superset of JS which compiles to JS, providing compile-time type checking\n- [MongoDB](https://github.com/mongodb/mongo) - a NoSQL database\n- [Graphql](https://github.com/graphql/graphiql) - A query language for your API\n- [TypeORM](https://github.com/typeorm/typeorm) - ORM for TypeScript and JavaScript (ES7, ES6, ES5). Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, WebSQL databases.\n- [Ioredis](https://github.com/luin/ioredis) - A robust, performance-focused and full-featured Redis client for Node.js.\n- [Passport](https://github.com/jaredhanson/passport) - a popular library used to implement JavaScript authentication\n- [jsonwebtoken](https://github.com/auth0/node-jsonwebtoken) - a JavaScript json web tokens implementation by auth0\n- [@nrwl/schematics](https://github.com/nrwl/nx/blob/master/packages/schematics/src/collection.json) - Angular CLI power-ups for modern development\n\n## Features\n\n- Use the graphql query API\n- Use the TypeORM connect MongoDB\n- Use the Ioredis connect Redis\n- Use JWT for authentication\n- Support github authentication login\n- Super easy to install and start using the full-featured controllers and services\n- DB and service agnostic extendable CRUD controllers\n- Reach query parsing with filtering, pagination, sorting, relations, nested relations, cache, etc.\n- Framework agnostic package with query builder for a frontend usage\n- Query, path params and DTOs validation included\n- Overriding controller methods with ease\n- Tiny config (including globally)\n- Additional helper decorators\n- Swagger documentation\n- Support Angular server rendering\n- Support Angular responsive presentation\n\n## Running the project\n\nThese instructions should be sufficient for one to get the project going on their local machine\n\n### Installing core dependencies\n\n- make sure you have [node.js](https://nodejs.org/en/download/) installed version 10.15+\n- make sure you have [MongoDB](https://www.mongodb.com/) installed version 3.4+\n- make sure you have [Redis](https://redis.io/download) installed version 3.2+\n\n### Cloning the github repository\n\nTo clone the project, run\n\n```bash\ngit clone https://github.com/jiayisheji/AngularNest-Fullstack-CNode.git\n```\n\n### Installing the dependencies\n\nTo install the dependencies after you've cloned the project, go to its root folder and run\n\n```bash\ncd AngularNest-Fullstack-CNode \u0026\u0026 npm install\n```\n\n### Starting the MongoDB and Redis\n\nOnce you start the database application, you are ready to run the server\n\nBoot according to your system\n\nNotice that the server uses MongoDB and Redis so we need to have a MongoDB and Redis instance running so the server can connect to it\n\n### Alternative commands\n\nIf you need to work on the frontend and backend parts at the same time, you can run\n\n```bash\nnpm start\n```\n\nThen, you can go to the Angular dev server at port 4200 and test server requests (to port 3000), we got a proxy to the backend\n\nIf you only need to work on the frontend, you can run\n\n```bash\nnpm run start:client\n```\n\nAlternatively, if you only need to work on the backend, you can run\n\n```bash\nnpm run start:server\n```\n\nKeeping in mind that you need to have the Angular app built and a mongodb and redis connection established\n\n## Documentation\n\n- [Angular Docs](https://angular.io/docs)\n- [NestJS Docs](https://docs.nestjs.com)\n- [Typescript Docs](http://www.typescriptlang.org/)\n- [Rxjs Docs](https://rxjs.dev/api)\n- [Typeorm Docs](https://typeorm.io/#/)\n- [Ioredis Docs](https://github.com/luin/ioredis/blob/master/API.md)\n- [Graphql Docs](https://graphql.org/)\n- [Passport Docs](http://www.passportjs.org/)\n- [JWT Docs](https://jwt.io/)\n\n## Support\n\nAny support is wellcome. At least you can give us a star :star:\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiayisheji%2FAngularNest-Fullstack-CNode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjiayisheji%2FAngularNest-Fullstack-CNode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiayisheji%2FAngularNest-Fullstack-CNode/lists"}