{"id":13580091,"url":"https://github.com/tomanagle/NextJS-NestJS-GraphQL-Starter","last_synced_at":"2025-04-06T00:30:44.885Z","repository":{"id":40002188,"uuid":"274851008","full_name":"tomanagle/NextJS-NestJS-GraphQL-Starter","owner":"tomanagle","description":"A production-ready NextJS \u0026 NestJS GraphQL starter pack","archived":false,"fork":false,"pushed_at":"2023-03-05T02:23:29.000Z","size":4655,"stargazers_count":410,"open_issues_count":18,"forks_count":80,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-11-05T18:51:58.878Z","etag":null,"topics":["graphql","javascript","nestjs","nextjs","nodejs","react","reactjs"],"latest_commit_sha":null,"homepage":"","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/tomanagle.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}},"created_at":"2020-06-25T07:07:56.000Z","updated_at":"2024-10-28T00:29:17.000Z","dependencies_parsed_at":"2024-01-07T18:07:02.828Z","dependency_job_id":"606a367b-e85e-404b-8500-17aa82d72cc8","html_url":"https://github.com/tomanagle/NextJS-NestJS-GraphQL-Starter","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/tomanagle%2FNextJS-NestJS-GraphQL-Starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomanagle%2FNextJS-NestJS-GraphQL-Starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomanagle%2FNextJS-NestJS-GraphQL-Starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomanagle%2FNextJS-NestJS-GraphQL-Starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomanagle","download_url":"https://codeload.github.com/tomanagle/NextJS-NestJS-GraphQL-Starter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247419597,"owners_count":20936009,"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":["graphql","javascript","nestjs","nextjs","nodejs","react","reactjs"],"created_at":"2024-08-01T15:01:47.053Z","updated_at":"2025-04-06T00:30:43.738Z","avatar_url":"https://github.com/tomanagle.png","language":"TypeScript","funding_links":["https://www.buymeacoffee.com/tomn"],"categories":["Resources","TypeScript"],"sub_categories":[],"readme":"# NextJS \u0026 NestJS GraphQL Starter\nA NextJS frontend and NestJS backend GraphQL starter pack that includes GitHub \u0026 Reddit authentication.\n\n## Is something missing?\nIf there is a feature missing that is used in most production-grade applications, please make an issue so we can discuss adding it in.\n## Features\n- [x] Google authentication\n- [x] GitHub authentication\n- [x] Reddit authentication\n- [x] Subscriptions\n- [x] Update basic profile information\n- [x] Server rendering\n- [x] Translation\n- [x] Session management \n- [x] docker-compose for client \u0026 server\n\n## Technologies\n* [NextJS](https://nextjs.org/)\n* [Bumbag](https://bumbag.style/)\n* [styled-components](https://styled-components.com/)\n* [Apollo Client 3.0](https://www.apollographql.com/docs/react/)\n* [GraphQL Code Generator](https://graphql-code-generator.com/)\n* [Yup](https://github.com/jquense/yup)\n* [TypeScript](https://www.typescriptlang.org/)\n* [NestJS](https://nestjs.com/)\n* [Mongoose](https://mongoosejs.com/)\n* [TypeGraphQL](https://typegraphql.com/)\n* [react-i18next](https://react.i18next.com/)\n* [Docker](https://docs.docker.com/)\n* [React Hook Form](https://react-hook-form.com/)\n\n## Getting started\n\n1. Install the required packages\n    ```bash\n    cd client \u0026\u0026 yarn\n    cd server \u0026\u0026 yarn\n    ```\n\n2. Update the .env files in the client \u0026 server\n    ```bash\n    cp client/.env.example .env\n    cp server/.env.example .env\n    ```\n\n3. Start the server \u0026 client\n   \n    ```bash\n    cd server \u0026\u0026 yarn dev\n    cd client \u0026\u0026 yarn dev\n    ```\n  \u003e The client requires that the server is started so it can read the schema to run codegen. To remove that functionality, remove the predev hook in `client/package.json`\n\n## Deployment\nThe easiest way to deploy is:\n1. Create a [DigitalOcean](https://m.do.co/c/1b74cb8c56f4) droplet using the Docker image\n2. Setup Nginx with this guide: [How To Install Nginx on Ubuntu 18.04](https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-18-04)\n3. Clone the repository onto the droplet\n4. Add your .env files with your production configuration to the client and server\n5. Signup for [MongoDB Atlas](https://www.mongodb.com/cloud/atlas) and get your connection string\n6. Mode the build script to make it executable: `chmod +x ./build.sh`\n7. Run the build script ./build.sh\n8. Modify and copy the supplied `nginx.conf` into `/var/etc/nginx/sites-available/default`\n9. Generate the SSL certificate with this guide: [How To Secure Nginx with Let's Encrypt on Ubuntu 16.04](https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04)\n\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n## NestJS GraphQL tutorials\n* Build a GraphQL Server with NestJS - https://youtu.be/bQPk4S_W-pc\n* Adding MongoDB to a NestJS GraphQL Server - https://youtu.be/xnyULqzQ-Rk\n* Username \u0026 password authentication - https://youtu.be/PXwnT25SZro\n\n## Support\n[Buy me a Coffee](https://www.buymeacoffee.com/tomn)\n\n[Sign up to DigitalOcean](https://m.do.co/c/1b74cb8c56f4) I 💖 DigitalOcean\n\n[Subscribe on YouTube](https://www.youtube.com/channel/UClEEzwG7Tl3-8eY11Qytsog)\n\n\n## License\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomanagle%2FNextJS-NestJS-GraphQL-Starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomanagle%2FNextJS-NestJS-GraphQL-Starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomanagle%2FNextJS-NestJS-GraphQL-Starter/lists"}