{"id":13455513,"url":"https://github.com/NoQuarterTeam/boilerplate-graphql","last_synced_at":"2025-03-24T08:32:53.912Z","repository":{"id":37050925,"uuid":"186444805","full_name":"NoQuarterTeam/boilerplate-graphql","owner":"NoQuarterTeam","description":"⚡️Fullstack boilerplate using Typescript, React, Node \u0026 GraphQL","archived":true,"fork":false,"pushed_at":"2024-11-16T05:47:03.000Z","size":8963,"stargazers_count":876,"open_issues_count":14,"forks_count":76,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-02-12T17:01:35.914Z","etag":null,"topics":["apollo","chakra-ui","expo","fullstack-boilerplate","graphql","nextjs","node","postgres","prisma","react","react-native","sentry","type-graphql","typescript"],"latest_commit_sha":null,"homepage":"https://boilerplate.noquarter.co","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/NoQuarterTeam.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":"2019-05-13T15:15:41.000Z","updated_at":"2025-01-29T17:01:02.000Z","dependencies_parsed_at":"2024-01-22T12:54:16.077Z","dependency_job_id":"c7640900-a718-4c53-9f26-e4ef3b3f9754","html_url":"https://github.com/NoQuarterTeam/boilerplate-graphql","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/NoQuarterTeam%2Fboilerplate-graphql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NoQuarterTeam%2Fboilerplate-graphql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NoQuarterTeam%2Fboilerplate-graphql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NoQuarterTeam%2Fboilerplate-graphql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NoQuarterTeam","download_url":"https://codeload.github.com/NoQuarterTeam/boilerplate-graphql/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245235576,"owners_count":20582264,"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":["apollo","chakra-ui","expo","fullstack-boilerplate","graphql","nextjs","node","postgres","prisma","react","react-native","sentry","type-graphql","typescript"],"created_at":"2024-07-31T08:01:06.509Z","updated_at":"2025-03-24T08:32:53.906Z","avatar_url":"https://github.com/NoQuarterTeam.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Boilerplate\n### Built by [No Quarter](https://www.noquarter.co)\n\nNOTE: We now recommend using our updated [stack](https://github.com/NoQuarterTeam/boilerplate).\n\n\n\u003cbr /\u003e\n\n## Typescript + React + React Native + GraphQL + Prisma\n\nComes with user authentication included\n\n- [React](https://github.com/facebook/react)\n- [React Native](https://github.com/facebook/react-native)\n- [Expo](https://www.expo.io)\n- [TypeGraphQL](https://github.com/19majkel94/type-graphql)\n- [Prisma](https://www.prisma.io)\n- Web, App \u0026 API monorepo\n- Next.js\n- TypeScript\n- Postgres\n- Apollo Client\n- Apollo Server\n- Express\n- React hook form\n- Chakra UI\n- Customizable theme \u0026 Dark mode\n- Eslint\n- Prettier\n- Graphql Code Generator\n- Sendgrid SMTP\n- Sentry\n- Husky\n- Lint staged\n\n\u0026 many more tasty treats\n\n\u003cbr /\u003e\n\n## Feel comfortable with this stack?\n\nWe are hiring! [Contact us here](https://www.noquarter.co/#contact)\n\n\u003cbr /\u003e\n\n## Get Started\n\n**You must have node, yarn, postgres and redis installed and setup locally**\n\n1. Clone the repo\n2. Delete the app folder if you're working on a purely web project.\n\n   ```bash\n   rm -rf packages/app\n   ```\n\n3. Install dependencies.\n   ```bash\n   yarn install\n   ```\n4. Create local postgres database\n   ```bash\n   createdb boilerplate\n   ```\n5. Create a `.env` file and update the `DATABASE_URL` with your local postgres database url.\n   ```bash\n   cp packages/api/.env.example  packages/api/.env\n   ```\n   ```bash\n   # Replace \u003cuser\u003e,\u003cpassword\u003e and \u003cdb-name\u003e with your corresponding username, password, and database name of your postgresql database.\n   DATABASE_URL=postgresql://\u003cuser\u003e:\u003cpassword\u003e@localhost:5432/\u003cdb-name\u003e\n   ```\n6. Migrate the database.\n   ```bash\n   cd packages/api \u0026\u0026 yarn db:migrate\n   ```\n\n\u003cbr /\u003e\n\u003cbr /\u003e\n\nWe use Husky to run a couple of checks each commit (prettier, eslint \u0026 commitlint), make sure to add a\n`.huskyrc` file to your home directory:\n\n```bash\ntouch ~/.huskyrc\n```\n\nand copy this into the file this in:\n\n```bash\nexport PATH=\"/usr/local/bin:$PATH\"\n```\n\nthen run this in the root of the project:\n\n```bash\nnpx husky install\n```\n\nWe use AWS S3 for image/file hosting, so you'll need to set up a few things for this to work, process can be found [here](./docs/setup-s3.md).\n\n\u003cbr /\u003e\n\u003cbr /\u003e\n\n## Development\n\n1. `cd packages/api \u0026\u0026 yarn dev`\n2. `cd packages/web \u0026\u0026 yarn dev`\n3. `cd packages/app \u0026\u0026 yarn start`\n\n\u003cbr /\u003e\n\n### An example of creating a simple todo feature can be found [here](./docs/new-feature.md).\n\n\u003cbr /\u003e\n\u003cbr /\u003e\n\n## Production\n\n### Mailers\n\n- Create a Sendgrid account and set a SENDGRID_API_KEY environment variable in .env\n- Create templates for each email you want to send and use the templateId in the corresponding mailer class\n\n### Error tracing\n\n- Create a Sentry account + project for each package and add the DSN to the web config and the api env variables\n\n### Deployment\n\nAn example is deployed [here](https://boilerplate.noquarter.co)\n\nWe are using Railway for the API package and Vercel for the WEB package\n\nFor railway we have setup preview deploys and that gives a dynamic url that the web can use. The url includes the PR number so on the web we need to grab the PR number from git and dynamically change the API_URL when building the Next.js app. Vercel doesn't include PR numbers in the env variables so we use a package to do that for us.\n\n\u003cbr/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNoQuarterTeam%2Fboilerplate-graphql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FNoQuarterTeam%2Fboilerplate-graphql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNoQuarterTeam%2Fboilerplate-graphql/lists"}