{"id":17930999,"url":"https://github.com/anjola-adeuyi/mobx-graphql-nest-auth-kit","last_synced_at":"2026-05-06T06:32:30.506Z","repository":{"id":258777729,"uuid":"875557710","full_name":"anjola-adeuyi/mobx-graphql-nest-auth-kit","owner":"anjola-adeuyi","description":"A combination of NestJS, GraphQL, Passport, Authentication, MobX, React and MUI, emphasizing the full-stack architecture and design.","archived":false,"fork":false,"pushed_at":"2024-10-20T19:14:10.000Z","size":1219,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-21T06:49:55.391Z","etag":null,"topics":["auth","authentication","authentication-backend","authorization","graphql","mobx","mobx-observable","mobx-react","mui","mui-material","nestjs","nestjs-backend","nestjs-graphql","passport","react","reactjs","testing","typescript"],"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/anjola-adeuyi.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-20T10:01:12.000Z","updated_at":"2024-10-20T19:14:15.000Z","dependencies_parsed_at":"2024-10-21T21:48:56.842Z","dependency_job_id":null,"html_url":"https://github.com/anjola-adeuyi/mobx-graphql-nest-auth-kit","commit_stats":null,"previous_names":["anjola-adeuyi/mobx-graphql-nest-auth-kit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anjola-adeuyi/mobx-graphql-nest-auth-kit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anjola-adeuyi%2Fmobx-graphql-nest-auth-kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anjola-adeuyi%2Fmobx-graphql-nest-auth-kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anjola-adeuyi%2Fmobx-graphql-nest-auth-kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anjola-adeuyi%2Fmobx-graphql-nest-auth-kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anjola-adeuyi","download_url":"https://codeload.github.com/anjola-adeuyi/mobx-graphql-nest-auth-kit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anjola-adeuyi%2Fmobx-graphql-nest-auth-kit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278842441,"owners_count":26055544,"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-10-07T02:00:06.786Z","response_time":59,"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":["auth","authentication","authentication-backend","authorization","graphql","mobx","mobx-observable","mobx-react","mui","mui-material","nestjs","nestjs-backend","nestjs-graphql","passport","react","reactjs","testing","typescript"],"created_at":"2024-10-28T21:18:59.967Z","updated_at":"2025-10-07T20:37:34.217Z","avatar_url":"https://github.com/anjola-adeuyi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mobx-graphql-nest-auth-kit\n\n## Overview\n\n`mobx-graphql-nest-auth-kit` is a full-stack project template designed to streamline the development of applications using modern technologies. This kit includes a frontend and backend directory, leveraging the power of NestJS, GraphQL, Passport, TypeScript, MobX, React, and MUI/Material.\n\n## Tech Stack\n\n### Backend\n\n- **NestJS**: A progressive Node.js framework for building efficient and scalable server-side applications.\n- **GraphQL**: A query language for your API, providing a more efficient, powerful, and flexible alternative to REST.\n- **Passport**: Middleware for authentication in Node.js applications.\n- **TypeScript**: A strongly typed programming language that builds on JavaScript.\n- **Testing**: Comprehensive testing setup to ensure code quality and reliability.\n\n### Frontend\n\n- **React**: A JavaScript library for building user interfaces.\n- **MobX**: A simple, scalable state management solution.\n- **MUI/Material**: A popular React UI framework with a comprehensive set of components.\n- **TypeScript**: A strongly typed programming language that builds on JavaScript.\n\n## Project Structure\n\n```\nmobx-graphql-nest-auth-kit/\n├── backend/\n│   ├── src/\n│   ├── test/\n│   ├── nest-cli.json\n│   ├── tsconfig.json\n│   └── package.json\n└── frontend/\n  ├── src/\n  ├── public/\n  ├── tsconfig.json\n  └── package.json\n```\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js\n- npm or yarn\n\n### Installation\n\n1. Clone the repository:\n\n```sh\ngit clone https://github.com/anjola-adeuyi/mobx-graphql-nest-auth-kit.git\ncd mobx-graphql-nest-auth-kit\n```\n\n2. Install dependencies for both frontend and backend:\n\n```sh\ncd backend\nyarn install\ncd ../frontend\nyarn install\n```\n\n### Running the Application\n\n1. Start the backend server:\n\n```sh\ncd backend\nyarn start:dev\n```\n\n2. Start the frontend development server:\n\n```sh\ncd frontend\nyarn start\n```\n\n## GraphQL Query\n\nVisit http://localhost:3000/graphql\n\n### Create User\n\n```\nmutation {\n  createUser(createUserData: {email: \"test@test.com\", age: 23}) {\n    userId\n    email\n    age\n    isSubscribed\n  }\n\n}\n```\n\n### Get User\n\n```\nquery {\n  user(userId: \"787858a1-6e00-4fea-84df-ad4cf6ecadfc\") {\n    userId\n    email\n    age\n    isSubscribed\n\n  }\n}\n```\n\n### Get Users\n\n```\nquery {\n  users(userIds: [\"787858a1-6e00-4fea-84df-ad4cf6ecadfc\"]) {\n    userId\n    email\n    age\n    isSubscribed\n\n  }\n}\n```\n\n### Update User\n\n```\nmutation {\n  updateUser(updateUserData: {userId: \"787858a1-6e00-4fea-84df-ad4cf6ecadfc\", age: 55, isSubscribed: true}) {\n    userId\n    email\n    age\n    isSubscribed\n  }\n}\n```\n\n### Delete User\n\n```\nmutation {\n  deleteUser(deleteUserData: { userId: \"787858a1-6e00-4fea-84df-ad4cf6ecadfc\"}) {\n    userId\n    email\n    age\n    isSubscribed\n  }\n}\n```\n\n## Screenshots\n\nHere are some screenshots of the project:\n\n### Create User Mutation\n\n![Create User Mutation](public/assets/create_user.png)\n\n### Update User Mutation\n\n![Update User Mutation](public/assets/update_user.png)\n\n### Postman Auth Login\n\n![Postman Login](public/assets/postman_auth_login.png)\n\n### GraphQL When queried UnAuthorized\n\n![Postman Login](public/assets/graphql_unauthorized.png)\n\n### GraphQL with Authorization Header\n\n![Postman Login](public/assets/graphql_is_auth.png)\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request.\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanjola-adeuyi%2Fmobx-graphql-nest-auth-kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanjola-adeuyi%2Fmobx-graphql-nest-auth-kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanjola-adeuyi%2Fmobx-graphql-nest-auth-kit/lists"}