├── .env ├── .env.development ├── .env.local.example ├── .env.production ├── .env.test ├── .eslintignore ├── .eslintrc ├── .gitattributes ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── .prettierignore ├── .prettierrc ├── Dockerfile ├── LICENSE ├── README.md ├── apollo.config.js ├── i18n.json ├── next-env.d.ts ├── next.config.js ├── package.json ├── public ├── assets │ └── images │ │ └── banner.png ├── favicon.ico └── icons │ ├── moon.svg │ └── sun.svg ├── src ├── components │ ├── auth │ │ └── accessDenied.tsx │ ├── colorModeSwitcher │ │ └── index.tsx │ ├── counter │ │ └── index.tsx │ ├── footer │ │ └── index.tsx │ ├── gridList │ │ └── index.tsx │ ├── header │ │ ├── LoginButton.tsx │ │ ├── LogoutButton.tsx │ │ └── index.tsx │ ├── icons │ │ ├── Moon.tsx │ │ ├── Sun.tsx │ │ └── index.tsx │ ├── index.ts │ ├── layout │ │ └── index.tsx │ ├── logo │ │ └── index.tsx │ ├── main │ │ └── index.tsx │ ├── navbar │ │ └── index.tsx │ ├── pages │ │ ├── error │ │ │ └── index.tsx │ │ ├── home │ │ │ └── index.tsx │ │ ├── launches │ │ │ ├── Launche.tsx │ │ │ └── index.tsx │ │ └── me │ │ │ └── index.tsx │ └── ui │ │ ├── button │ │ └── index.tsx │ │ ├── index.ts │ │ └── spinner │ │ └── index.tsx ├── lib │ └── utils.ts ├── pages │ ├── 404.tsx │ ├── _app.tsx │ ├── _document.tsx │ ├── _error.tsx │ ├── api │ │ └── auth │ │ │ └── [...nextauth].ts │ ├── index.tsx │ ├── launches.tsx │ └── me │ │ └── index.tsx ├── redux │ ├── actions.ts │ ├── reducers.ts │ ├── slices │ │ └── counter │ │ │ ├── index.spec.ts │ │ │ └── index.ts │ └── store.ts ├── services │ ├── api │ │ └── apiClient.ts │ └── graphql │ │ ├── apolloClient.ts │ │ └── launches.ts ├── styles │ ├── factory │ │ └── label.tsx │ └── theme │ │ ├── foundations │ │ ├── colors.ts │ │ ├── fontSizes.ts │ │ ├── layerStyles.ts │ │ ├── semanticTokens.ts │ │ └── textStyles.ts │ │ ├── index.ts │ │ └── styles.ts └── types │ ├── declaration │ ├── environment.d.ts │ ├── index.d.ts │ ├── next-auth.d.ts │ └── next.d.ts │ ├── launche.ts │ ├── session.ts │ └── user.ts ├── test ├── index.tsx ├── jest.config.js └── jest.setup.ts ├── tsconfig.json └── yarn.lock /.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/.env -------------------------------------------------------------------------------- /.env.development: -------------------------------------------------------------------------------- 1 | NEXTAUTH_URL=http://localhost:3000 -------------------------------------------------------------------------------- /.env.local.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/.env.local.example -------------------------------------------------------------------------------- /.env.production: -------------------------------------------------------------------------------- 1 | NEXTAUTH_URL=http://localhost:3000 -------------------------------------------------------------------------------- /.env.test: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | generated 3 | build/* 4 | public/* 5 | docs/* -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | generated 3 | .next 4 | storybook-static 5 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/.prettierrc -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/README.md -------------------------------------------------------------------------------- /apollo.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/apollo.config.js -------------------------------------------------------------------------------- /i18n.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/i18n.json -------------------------------------------------------------------------------- /next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/next-env.d.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/package.json -------------------------------------------------------------------------------- /public/assets/images/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/public/assets/images/banner.png -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/icons/moon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/public/icons/moon.svg -------------------------------------------------------------------------------- /public/icons/sun.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/public/icons/sun.svg -------------------------------------------------------------------------------- /src/components/auth/accessDenied.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/components/auth/accessDenied.tsx -------------------------------------------------------------------------------- /src/components/colorModeSwitcher/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/components/colorModeSwitcher/index.tsx -------------------------------------------------------------------------------- /src/components/counter/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/components/counter/index.tsx -------------------------------------------------------------------------------- /src/components/footer/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/components/footer/index.tsx -------------------------------------------------------------------------------- /src/components/gridList/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/components/gridList/index.tsx -------------------------------------------------------------------------------- /src/components/header/LoginButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/components/header/LoginButton.tsx -------------------------------------------------------------------------------- /src/components/header/LogoutButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/components/header/LogoutButton.tsx -------------------------------------------------------------------------------- /src/components/header/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/components/header/index.tsx -------------------------------------------------------------------------------- /src/components/icons/Moon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/components/icons/Moon.tsx -------------------------------------------------------------------------------- /src/components/icons/Sun.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/components/icons/Sun.tsx -------------------------------------------------------------------------------- /src/components/icons/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/components/icons/index.tsx -------------------------------------------------------------------------------- /src/components/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/components/index.ts -------------------------------------------------------------------------------- /src/components/layout/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/components/layout/index.tsx -------------------------------------------------------------------------------- /src/components/logo/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/components/logo/index.tsx -------------------------------------------------------------------------------- /src/components/main/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/components/main/index.tsx -------------------------------------------------------------------------------- /src/components/navbar/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/components/navbar/index.tsx -------------------------------------------------------------------------------- /src/components/pages/error/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/components/pages/error/index.tsx -------------------------------------------------------------------------------- /src/components/pages/home/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/components/pages/home/index.tsx -------------------------------------------------------------------------------- /src/components/pages/launches/Launche.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/components/pages/launches/Launche.tsx -------------------------------------------------------------------------------- /src/components/pages/launches/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/components/pages/launches/index.tsx -------------------------------------------------------------------------------- /src/components/pages/me/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/components/pages/me/index.tsx -------------------------------------------------------------------------------- /src/components/ui/button/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/components/ui/button/index.tsx -------------------------------------------------------------------------------- /src/components/ui/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/components/ui/index.ts -------------------------------------------------------------------------------- /src/components/ui/spinner/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/components/ui/spinner/index.tsx -------------------------------------------------------------------------------- /src/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/lib/utils.ts -------------------------------------------------------------------------------- /src/pages/404.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/pages/404.tsx -------------------------------------------------------------------------------- /src/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/pages/_app.tsx -------------------------------------------------------------------------------- /src/pages/_document.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/pages/_document.tsx -------------------------------------------------------------------------------- /src/pages/_error.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/pages/_error.tsx -------------------------------------------------------------------------------- /src/pages/api/auth/[...nextauth].ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/pages/api/auth/[...nextauth].ts -------------------------------------------------------------------------------- /src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/pages/index.tsx -------------------------------------------------------------------------------- /src/pages/launches.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/pages/launches.tsx -------------------------------------------------------------------------------- /src/pages/me/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/pages/me/index.tsx -------------------------------------------------------------------------------- /src/redux/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/redux/actions.ts -------------------------------------------------------------------------------- /src/redux/reducers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/redux/reducers.ts -------------------------------------------------------------------------------- /src/redux/slices/counter/index.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/redux/slices/counter/index.spec.ts -------------------------------------------------------------------------------- /src/redux/slices/counter/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/redux/slices/counter/index.ts -------------------------------------------------------------------------------- /src/redux/store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/redux/store.ts -------------------------------------------------------------------------------- /src/services/api/apiClient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/services/api/apiClient.ts -------------------------------------------------------------------------------- /src/services/graphql/apolloClient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/services/graphql/apolloClient.ts -------------------------------------------------------------------------------- /src/services/graphql/launches.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/services/graphql/launches.ts -------------------------------------------------------------------------------- /src/styles/factory/label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/styles/factory/label.tsx -------------------------------------------------------------------------------- /src/styles/theme/foundations/colors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/styles/theme/foundations/colors.ts -------------------------------------------------------------------------------- /src/styles/theme/foundations/fontSizes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/styles/theme/foundations/fontSizes.ts -------------------------------------------------------------------------------- /src/styles/theme/foundations/layerStyles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/styles/theme/foundations/layerStyles.ts -------------------------------------------------------------------------------- /src/styles/theme/foundations/semanticTokens.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/styles/theme/foundations/semanticTokens.ts -------------------------------------------------------------------------------- /src/styles/theme/foundations/textStyles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/styles/theme/foundations/textStyles.ts -------------------------------------------------------------------------------- /src/styles/theme/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/styles/theme/index.ts -------------------------------------------------------------------------------- /src/styles/theme/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/styles/theme/styles.ts -------------------------------------------------------------------------------- /src/types/declaration/environment.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/types/declaration/environment.d.ts -------------------------------------------------------------------------------- /src/types/declaration/index.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'axios/lib/adapters/http'; 2 | -------------------------------------------------------------------------------- /src/types/declaration/next-auth.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/types/declaration/next-auth.d.ts -------------------------------------------------------------------------------- /src/types/declaration/next.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/types/declaration/next.d.ts -------------------------------------------------------------------------------- /src/types/launche.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/types/launche.ts -------------------------------------------------------------------------------- /src/types/session.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/types/session.ts -------------------------------------------------------------------------------- /src/types/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/src/types/user.ts -------------------------------------------------------------------------------- /test/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/test/index.tsx -------------------------------------------------------------------------------- /test/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/test/jest.config.js -------------------------------------------------------------------------------- /test/jest.setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/test/jest.setup.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/caribjin/nextjs-apollo-boilerplate/HEAD/yarn.lock --------------------------------------------------------------------------------