Skip to content

D_D Academy is an open-source education platform created by and for Developer DAO.

License

Notifications You must be signed in to change notification settings

Developer-DAO/academy-turbo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

334669b Β· Dec 17, 2024
Sep 6, 2023
Sep 6, 2023
Dec 12, 2023
Oct 3, 2024
Oct 3, 2024
Sep 6, 2023
Feb 8, 2024
Sep 7, 2023
Sep 6, 2023
Apr 1, 2024
Mar 5, 2024
Apr 1, 2024
Sep 6, 2023
Sep 6, 2023
Sep 6, 2023
Jan 9, 2024
Mar 31, 2024
Sep 6, 2024
Sep 17, 2024
May 30, 2024
Sep 6, 2023
Jan 16, 2024
Apr 1, 2024
Jan 10, 2024

Repository files navigation

Next.js & Tailwind CSS Monorepo Template

This is a monorepo template using:

What's inside?

This monorepo includes a few apps and packages.

Apps and Packages

  • apps/website-ssr: a Next.js app with Tailwind CSS
  • apps/website: another Next.js app with Tailwind CSS
  • packages/ui: a stub React component library with Tailwind CSS, shared by both website-ssr and website apps
  • packages/utils: utilities shared by both website-ssr and website apps
  • packages/eslint-config-custom: shared ESLint configuration
  • packages/jest-config: shared Jest configuration
  • packages/lighthouse-config: shared Lighthouse configuration
  • packages/next-config: shared Next.js configuration
  • packages/playwright-config: shared Playwright configuration
  • packages/storybook-config: shared Storybook configuration
  • packages/tailwindcss-config: shared Tailwind CSS configuration
  • packages/typescript-config: shared tsconfig.json files

Using this template

Run the following command:

git clone https://github.com/Developer-DAO/academy-turbo
cd academy-turbo
pnpm install

Develop Next.js

If you want to start apps/academy in development mode, and watch for changes in packages/ui, run at the root:

pnpm dev --filter academy

Build Next.js

If you want to build apps/academy for production, run at the root:

pnpm build --filter academy

If you want to see an analysis of the generated bundles, specify the ANALYZE environment variable:

ANALYZE=true pnpm build

Preview Next.js

If you want to preview production builds of apps/website-ssr and apps/website, run at the root:

pnpm start

Develop Storybook

If you want to start all Storybook projects in development mode, run at the root:

pnpm storybook:dev

Develop Storybook

If you want to build all Storybook projects, run at the root:

pnpm storybook:build

Unit tests

If you want to run unit tests for all projects, run at the root:

pnpm test:unit

End-to-end tests

If you want to run e2e tests for all projects, run at the root:

pnpm test:e2e

Lint

If you want to run linting for all projects, run at the root:

pnpm lint

About

D_D Academy is an open-source education platform created by and for Developer DAO.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published