Skip to main content

index

docs/
โ””โ”€โ”€ tutorials/
โ””โ”€โ”€ nextjs/
โ”œโ”€โ”€ index.mdx
โ”œโ”€โ”€ 01-introduction/
โ”‚ โ”œโ”€โ”€ what-is-nextjs.mdx
โ”‚ โ”œโ”€โ”€ why-use-nextjs.mdx
โ”‚ โ”œโ”€โ”€ nextjs-features.mdx
โ”‚ โ”œโ”€โ”€ nextjs-vs-react.mdx
โ”‚ โ”œโ”€โ”€ nextjs-architecture.mdx
โ”‚ โ”œโ”€โ”€ app-router-vs-pages-router.mdx
โ”‚ โ””โ”€โ”€ nextjs-rendering-strategies.mdx
โ”œโ”€โ”€ 02-prerequisites/
โ”‚ โ”œโ”€โ”€ html-css-and-javascript.mdx
โ”‚ โ”œโ”€โ”€ modern-javascript.mdx
โ”‚ โ”œโ”€โ”€ react-fundamentals.mdx
โ”‚ โ”œโ”€โ”€ jsx-and-tsx.mdx
โ”‚ โ”œโ”€โ”€ react-components-and-props.mdx
โ”‚ โ”œโ”€โ”€ react-state-and-hooks.mdx
โ”‚ โ””โ”€โ”€ typescript-for-nextjs.mdx
โ”œโ”€โ”€ 03-environment-setup/
โ”‚ โ”œโ”€โ”€ install-nodejs.mdx
โ”‚ โ”œโ”€โ”€ setup-vscode.mdx
โ”‚ โ”œโ”€โ”€ install-nextjs.mdx
โ”‚ โ”œโ”€โ”€ create-nextjs-project.mdx
โ”‚ โ”œโ”€โ”€ configure-typescript.mdx
โ”‚ โ”œโ”€โ”€ configure-tailwind-css.mdx
โ”‚ โ””โ”€โ”€ run-development-server.mdx
โ”œโ”€โ”€ 04-project-structure/
โ”‚ โ”œโ”€โ”€ nextjs-directory-layout.mdx
โ”‚ โ”œโ”€โ”€ app-directory.mdx
โ”‚ โ”œโ”€โ”€ public-directory.mdx
โ”‚ โ”œโ”€โ”€ package-json-explained.mdx
โ”‚ โ”œโ”€โ”€ next-config.mdx
โ”‚ โ”œโ”€โ”€ environment-files.mdx
โ”‚ โ””โ”€โ”€ conventions-and-file-naming.mdx
โ”œโ”€โ”€ 05-routing-and-navigation/
โ”‚ โ”œโ”€โ”€ file-system-routing.mdx
โ”‚ โ”œโ”€โ”€ pages-and-layouts.mdx
โ”‚ โ”œโ”€โ”€ nested-routes.mdx
โ”‚ โ”œโ”€โ”€ dynamic-route-segments.mdx
โ”‚ โ”œโ”€โ”€ catch-all-routes.mdx
โ”‚ โ”œโ”€โ”€ route-groups.mdx
โ”‚ โ”œโ”€โ”€ private-folders.mdx
โ”‚ โ”œโ”€โ”€ navigation-with-link.mdx
โ”‚ โ”œโ”€โ”€ usepathname-and-useparams.mdx
โ”‚ โ”œโ”€โ”€ redirects-and-not-found.mdx
โ”‚ โ”œโ”€โ”€ loading-ui.mdx
โ”‚ โ””โ”€โ”€ parallel-and-intercepting-routes.mdx
โ”œโ”€โ”€ 06-react-server-and-client-components/
โ”‚ โ”œโ”€โ”€ server-components-explained.mdx
โ”‚ โ”œโ”€โ”€ client-components-explained.mdx
โ”‚ โ”œโ”€โ”€ use-client-directive.mdx
โ”‚ โ”œโ”€โ”€ component-boundaries.mdx
โ”‚ โ”œโ”€โ”€ passing-serializable-props.mdx
โ”‚ โ”œโ”€โ”€ server-and-client-composition.mdx
โ”‚ โ”œโ”€โ”€ client-side-interactivity.mdx
โ”‚ โ””โ”€โ”€ common-component-boundary-errors.mdx
โ”œโ”€โ”€ 07-styling-and-ui/
โ”‚ โ”œโ”€โ”€ global-css.mdx
โ”‚ โ”œโ”€โ”€ css-modules.mdx
โ”‚ โ”œโ”€โ”€ tailwind-css.mdx
โ”‚ โ”œโ”€โ”€ responsive-design.mdx
โ”‚ โ”œโ”€โ”€ fonts-with-next-font.mdx
โ”‚ โ”œโ”€โ”€ images-with-next-image.mdx
โ”‚ โ”œโ”€โ”€ component-libraries.mdx
โ”‚ โ”œโ”€โ”€ design-systems.mdx
โ”‚ โ””โ”€โ”€ dark-mode-and-theming.mdx
โ”œโ”€โ”€ 08-data-fetching/
โ”‚ โ”œโ”€โ”€ data-fetching-overview.mdx
โ”‚ โ”œโ”€โ”€ fetch-in-server-components.mdx
โ”‚ โ”œโ”€โ”€ async-server-components.mdx
โ”‚ โ”œโ”€โ”€ fetching-from-external-apis.mdx
โ”‚ โ”œโ”€โ”€ loading-and-error-states.mdx
โ”‚ โ”œโ”€โ”€ parallel-and-sequential-fetching.mdx
โ”‚ โ”œโ”€โ”€ request-deduplication.mdx
โ”‚ โ”œโ”€โ”€ client-side-data-fetching.mdx
โ”‚ โ”œโ”€โ”€ pagination-and-filtering.mdx
โ”‚ โ””โ”€โ”€ data-validation-with-zod.mdx
โ”œโ”€โ”€ 09-rendering-and-caching/
โ”‚ โ”œโ”€โ”€ static-rendering.mdx
โ”‚ โ”œโ”€โ”€ dynamic-rendering.mdx
โ”‚ โ”œโ”€โ”€ server-side-rendering.mdx
โ”‚ โ”œโ”€โ”€ static-site-generation.mdx
โ”‚ โ”œโ”€โ”€ streaming-and-suspense.mdx
โ”‚ โ”œโ”€โ”€ cache-components-and-caching.mdx
โ”‚ โ”œโ”€โ”€ revalidation-and-invalidation.mdx
โ”‚ โ”œโ”€โ”€ client-router-cache.mdx
โ”‚ โ”œโ”€โ”€ cache-debugging.mdx
โ”‚ โ””โ”€โ”€ rendering-strategy-selection.mdx
โ”œโ”€โ”€ 10-server-actions-and-mutations/
โ”‚ โ”œโ”€โ”€ server-functions-overview.mdx
โ”‚ โ”œโ”€โ”€ server-actions-fundamentals.mdx
โ”‚ โ”œโ”€โ”€ form-submissions.mdx
โ”‚ โ”œโ”€โ”€ useactionstate.mdx
โ”‚ โ”œโ”€โ”€ usetransition.mdx
โ”‚ โ”œโ”€โ”€ optimistic-updates.mdx
โ”‚ โ”œโ”€โ”€ server-side-validation.mdx
โ”‚ โ”œโ”€โ”€ mutation-error-handling.mdx
โ”‚ โ””โ”€โ”€ revalidate-after-mutations.mdx
โ”œโ”€โ”€ 11-route-handlers-and-api-development/
โ”‚ โ”œโ”€โ”€ route-handlers-fundamentals.mdx
โ”‚ โ”œโ”€โ”€ get-post-put-and-delete.mdx
โ”‚ โ”œโ”€โ”€ request-and-response-objects.mdx
โ”‚ โ”œโ”€โ”€ query-parameters.mdx
โ”‚ โ”œโ”€โ”€ dynamic-route-handlers.mdx
โ”‚ โ”œโ”€โ”€ request-validation.mdx
โ”‚ โ”œโ”€โ”€ api-error-handling.mdx
โ”‚ โ”œโ”€โ”€ cors-and-api-security.mdx
โ”‚ โ””โ”€โ”€ api-documentation.mdx
โ”œโ”€โ”€ 12-forms-and-validation/
โ”‚ โ”œโ”€โ”€ react-forms-in-nextjs.mdx
โ”‚ โ”œโ”€โ”€ controlled-and-uncontrolled-inputs.mdx
โ”‚ โ”œโ”€โ”€ server-side-form-validation.mdx
โ”‚ โ”œโ”€โ”€ client-side-validation.mdx
โ”‚ โ”œโ”€โ”€ zod-and-typescript.mdx
โ”‚ โ”œโ”€โ”€ accessible-form-errors.mdx
โ”‚ โ”œโ”€โ”€ file-uploads.mdx
โ”‚ โ””โ”€โ”€ secure-form-submissions.mdx
โ”œโ”€โ”€ 13-database-and-orm/
โ”‚ โ”œโ”€โ”€ database-integration-overview.mdx
โ”‚ โ”œโ”€โ”€ postgresql-setup.mdx
โ”‚ โ”œโ”€โ”€ prisma-orm.mdx
โ”‚ โ”œโ”€โ”€ drizzle-orm.mdx
โ”‚ โ”œโ”€โ”€ database-schema-design.mdx
โ”‚ โ”œโ”€โ”€ migrations-and-seeding.mdx
โ”‚ โ”œโ”€โ”€ queries-and-transactions.mdx
โ”‚ โ”œโ”€โ”€ connection-pooling.mdx
โ”‚ โ”œโ”€โ”€ server-only-database-access.mdx
โ”‚ โ””โ”€โ”€ database-error-handling.mdx
โ”œโ”€โ”€ 14-authentication-and-authorization/
โ”‚ โ”œโ”€โ”€ authentication-fundamentals.mdx
โ”‚ โ”œโ”€โ”€ authentication-library-selection.mdx
โ”‚ โ”œโ”€โ”€ login-and-registration.mdx
โ”‚ โ”œโ”€โ”€ sessions-and-cookies.mdx
โ”‚ โ”œโ”€โ”€ oauth-and-social-login.mdx
โ”‚ โ”œโ”€โ”€ route-protection.mdx
โ”‚ โ”œโ”€โ”€ authorization-and-permissions.mdx
โ”‚ โ”œโ”€โ”€ server-side-session-validation.mdx
โ”‚ โ”œโ”€โ”€ secure-password-storage.mdx
โ”‚ โ””โ”€โ”€ authentication-security-checklist.mdx
โ”œโ”€โ”€ 15-state-management/
โ”‚ โ”œโ”€โ”€ react-state-in-nextjs.mdx
โ”‚ โ”œโ”€โ”€ context-api.mdx
โ”‚ โ”œโ”€โ”€ zustand-integration.mdx
โ”‚ โ”œโ”€โ”€ redux-toolkit-integration.mdx
โ”‚ โ”œโ”€โ”€ url-state-and-search-params.mdx
โ”‚ โ”œโ”€โ”€ server-state-vs-client-state.mdx
โ”‚ โ””โ”€โ”€ state-management-best-practices.mdx
โ”œโ”€โ”€ 16-metadata-seo-and-content/
โ”‚ โ”œโ”€โ”€ metadata-api.mdx
โ”‚ โ”œโ”€โ”€ dynamic-metadata.mdx
โ”‚ โ”œโ”€โ”€ open-graph-and-social-images.mdx
โ”‚ โ”œโ”€โ”€ sitemap-generation.mdx
โ”‚ โ”œโ”€โ”€ robots-txt.mdx
โ”‚ โ”œโ”€โ”€ canonical-urls.mdx
โ”‚ โ”œโ”€โ”€ structured-data.mdx
โ”‚ โ”œโ”€โ”€ mdx-and-content-collections.mdx
โ”‚ โ””โ”€โ”€ seo-audit-checklist.mdx
โ”œโ”€โ”€ 17-performance-and-optimization/
โ”‚ โ”œโ”€โ”€ core-web-vitals.mdx
โ”‚ โ”œโ”€โ”€ image-optimization.mdx
โ”‚ โ”œโ”€โ”€ font-optimization.mdx
โ”‚ โ”œโ”€โ”€ code-splitting.mdx
โ”‚ โ”œโ”€โ”€ lazy-loading-components.mdx
โ”‚ โ”œโ”€โ”€ bundle-analysis.mdx
โ”‚ โ”œโ”€โ”€ reducing-client-javascript.mdx
โ”‚ โ”œโ”€โ”€ performance-profiling.mdx
โ”‚ โ””โ”€โ”€ production-performance-checklist.mdx
โ”œโ”€โ”€ 18-security-and-reliability/
โ”‚ โ”œโ”€โ”€ nextjs-security-fundamentals.mdx
โ”‚ โ”œโ”€โ”€ server-side-secrets.mdx
โ”‚ โ”œโ”€โ”€ environment-variable-security.mdx
โ”‚ โ”œโ”€โ”€ xss-and-safe-rendering.mdx
โ”‚ โ”œโ”€โ”€ csrf-and-origin-validation.mdx
โ”‚ โ”œโ”€โ”€ rate-limiting.mdx
โ”‚ โ”œโ”€โ”€ authorization-in-server-functions.mdx
โ”‚ โ”œโ”€โ”€ secure-redirects.mdx
โ”‚ โ””โ”€โ”€ dependency-security.mdx
โ”œโ”€โ”€ 19-testing-and-code-quality/
โ”‚ โ”œโ”€โ”€ testing-strategy.mdx
โ”‚ โ”œโ”€โ”€ vitest-setup.mdx
โ”‚ โ”œโ”€โ”€ react-testing-library.mdx
โ”‚ โ”œโ”€โ”€ component-testing.mdx
โ”‚ โ”œโ”€โ”€ server-component-testing.mdx
โ”‚ โ”œโ”€โ”€ api-route-testing.mdx
โ”‚ โ”œโ”€โ”€ end-to-end-testing-with-playwright.mdx
โ”‚ โ”œโ”€โ”€ mock-data-and-test-fixtures.mdx
โ”‚ โ”œโ”€โ”€ eslint-and-formatting.mdx
โ”‚ โ””โ”€โ”€ continuous-integration.mdx
โ”œโ”€โ”€ 20-advanced-nextjs/
โ”‚ โ”œโ”€โ”€ middleware-and-request-interception.mdx
โ”‚ โ”œโ”€โ”€ edge-and-nodejs-runtimes.mdx
โ”‚ โ”œโ”€โ”€ internationalization.mdx
โ”‚ โ”œโ”€โ”€ multi-tenant-applications.mdx
โ”‚ โ”œโ”€โ”€ background-jobs-and-queues.mdx
โ”‚ โ”œโ”€โ”€ webhooks.mdx
โ”‚ โ”œโ”€โ”€ streaming-large-responses.mdx
โ”‚ โ”œโ”€โ”€ progressive-enhancement.mdx
โ”‚ โ””โ”€โ”€ migrating-from-pages-router.mdx
โ”œโ”€โ”€ 21-deployment-and-devops/
โ”‚ โ”œโ”€โ”€ production-builds.mdx
โ”‚ โ”œโ”€โ”€ deployment-environments.mdx
โ”‚ โ”œโ”€โ”€ deploy-to-vercel.mdx
โ”‚ โ”œโ”€โ”€ self-hosted-deployment.mdx
โ”‚ โ”œโ”€โ”€ dockerize-nextjs.mdx
โ”‚ โ”œโ”€โ”€ reverse-proxy-and-cdn.mdx
โ”‚ โ”œโ”€โ”€ ci-cd-with-github-actions.mdx
โ”‚ โ”œโ”€โ”€ environment-configuration.mdx
โ”‚ โ”œโ”€โ”€ logging-and-monitoring.mdx
โ”‚ โ””โ”€โ”€ production-deployment-checklist.mdx
โ”œโ”€โ”€ 22-pages-router/
โ”‚ โ”œโ”€โ”€ pages-directory-overview.mdx
โ”‚ โ”œโ”€โ”€ file-based-routing.mdx
โ”‚ โ”œโ”€โ”€ getstaticprops.mdx
โ”‚ โ”œโ”€โ”€ getserversideprops.mdx
โ”‚ โ”œโ”€โ”€ getstaticpaths.mdx
โ”‚ โ”œโ”€โ”€ api-routes.mdx
โ”‚ โ”œโ”€โ”€ custom-app-and-document.mdx
โ”‚ โ””โ”€โ”€ pages-router-migration.mdx
โ”œโ”€โ”€ 23-projects/
โ”‚ โ”œโ”€โ”€ personal-portfolio.mdx
โ”‚ โ”œโ”€โ”€ markdown-blog.mdx
โ”‚ โ”œโ”€โ”€ weather-dashboard.mdx
โ”‚ โ”œโ”€โ”€ task-management-app.mdx
โ”‚ โ”œโ”€โ”€ ecommerce-storefront.mdx
โ”‚ โ”œโ”€โ”€ admin-dashboard.mdx
โ”‚ โ”œโ”€โ”€ authentication-platform.mdx
โ”‚ โ””โ”€โ”€ production-capstone.mdx
โ”œโ”€โ”€ reference/
โ”‚ โ”œโ”€โ”€ app-router-file-conventions.mdx
โ”‚ โ”œโ”€โ”€ nextjs-directives-cheatsheet.mdx
โ”‚ โ”œโ”€โ”€ rendering-and-caching-reference.mdx
โ”‚ โ”œโ”€โ”€ environment-variables-reference.mdx
โ”‚ โ”œโ”€โ”€ common-errors-and-solutions.mdx
โ”‚ โ”œโ”€โ”€ glossary.mdx
โ”‚ โ””โ”€โ”€ official-resources.mdx
โ””โ”€โ”€ assets/
โ”œโ”€โ”€ images/
โ”œโ”€โ”€ diagrams/
โ””โ”€โ”€ examples/