Skip to content
/ next-starter-tpl Public template

πŸ€– This is a microservices-ready template for building Next.js applications, used by Wayofdev. It comes bundled with Turbo and is managed as a monorepo using PNPM

License

Notifications You must be signed in to change notification settings

wayofdev/next-starter-tpl

Folders and files

NameName
Last commit message
Last commit date
Jul 17, 2023
Jul 17, 2023
Mar 2, 2023
Jul 17, 2023
Jan 11, 2023
Jul 17, 2023
Jan 4, 2023
Dec 19, 2022
Jan 1, 2023
Dec 21, 2022
Mar 6, 2023
Dec 7, 2022
Feb 24, 2023
Jan 4, 2023
Dec 21, 2022
Jan 31, 2023
Mar 6, 2023
Dec 31, 2022
Feb 22, 2023
Feb 22, 2023
Feb 22, 2023
Dec 29, 2022
Jan 1, 2023
Jan 6, 2023
Dec 21, 2022
Jan 16, 2023
Dec 19, 2022
Jul 17, 2023
Feb 24, 2023
Feb 22, 2023
Dec 21, 2022
Jul 17, 2023
Feb 24, 2023
Jul 17, 2023
Jul 17, 2023
Dec 15, 2022
Mar 21, 2023
Mar 2, 2023
Jul 17, 2023
Mar 4, 2023

Repository files navigation






NextJS Starter Template

πŸ“„ About

This repository contains a monorepo boilerplate written in Next.js, managed by the pnpm package manager.

You can use it with the backend template, written in Laravel β€” laravel-starter-tpl.

β†’ Purpose

  • Establish a clear structure and present a lifecycle perspective (developer experience, continuous integration/continuous deployment, and deployments);
  • Demonstrate how to create and consume shared packages, locales, assets, and API types;
  • Provide a fully configured repository with integrated tools and configs, such as tsconfig, eslint, jest, cypress, tailwind, changelogs, versioning, codecov, codeclimate, sentry, and others;
  • Clarify advantages of using a monorepo, such as team cohesion, consistency, duplication, refactorings, and atomic commits.

β†’ Utilities and Features

This repository has some additional tools already setup for you:


πŸ™ If you find this repository useful, please consider giving it a ⭐️. Thank you!


πŸ€” What's inside?

Open in Gitpod

This turborepo uses pnpm as a package manager. It includes the following packages/apps:

β†’ Structure

.
β”œβ”€β”€ apps
β”‚   β”œβ”€β”€ web                  # Next.js app - i18n, SSR, API, Jest, Cypress
β”‚   └── docs                 # Nextra app
└── packages
    β”œβ”€β”€ common-i18n          # Locales...
    β”œβ”€β”€ facebook-pixel       # Facebook Pixel tracking functionality
    β”œβ”€β”€ google-tag-manager   # Google Tag Manager functionality
    └── ui                   # React stub components

β†’ Apps

Application URL Description
docs Demo Nextra documentation template generated from Nextra: Docs Starter Kit
web Demo Next.js app with TailwindCSS, Facebook Pixel and Google Tag Manager tracking, and Sentry support
storybook Demo Storybook β€” UI component explorer for React components

Note: Apps should not depend on apps, they can depend on packages

β†’ Packages

Package Docs Description
common-i18n README.md Locales for multi-language support
facebook-pixel README.md Facebook Pixel tracking functionality
google-tag-manager README.md Google Tag Manager functionality
ui README.md Shared react stub components

Note: Apps can depend on packages, packages can depend on each others


🚩 Requirements

To use this repository, you need to meet the following requirements:


πŸ’Ώ Installation and Usage

Warning: You should configure, set up, and run the docker-shared-services repository to ensure system-wide TLS and DNS support.

Follow getting-started guide in documentation πŸ”—


🀝 License

Licence

FOSSA Status


🧱 Credits and Useful Resources

This repository is based on the nextjs-monorepo-example template from belgattitude.

Learn more about the power of Turborepo:

Here are some other monorepo templates you may find useful:

Other projects:


πŸ™†πŸΌβ€β™‚οΈ Author Information

This repository was created in 2022 by lotyp / wayofdev.


πŸ™Œ Want to Contribute?

Thank you for considering contributing to the wayofdev community! We are open to all kinds of contributions. If you want to:

  • πŸ€” Suggest a feature
  • πŸ› Report an issue
  • πŸ“– Improve documentation
  • πŸ‘¨β€πŸ’» Contribute to the code

You are more than welcome. Before contributing, kindly check our guidelines.


🫑 Contributors

Contributors

Contributors

πŸ€‘ Sponsors

Reproto Logo
Reproto

πŸŽ–οΈ Financial Support
VarsityBase Logo
VarsityBase

πŸŽ–οΈ Financial Support
Vercel Logo
Vercel

☁️ Infrastructure Support
Sentry Logo
Sentry

☁️ Infrastructure Support
ZenHub Logo
ZenHub

☁️ Infrastructure Support