https://github.com/developer-dao/academy-turbo
D_D Academy is an open-source education platform created by and for Developer DAO.
https://github.com/developer-dao/academy-turbo
developerdao nextjs react shadcn tailwindcss
Last synced: about 1 year ago
JSON representation
D_D Academy is an open-source education platform created by and for Developer DAO.
- Host: GitHub
- URL: https://github.com/developer-dao/academy-turbo
- Owner: Developer-DAO
- License: mit
- Created: 2023-09-06T01:56:08.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-17T20:32:59.000Z (over 1 year ago)
- Last Synced: 2025-03-24T03:53:11.275Z (about 1 year ago)
- Topics: developerdao, nextjs, react, shadcn, tailwindcss
- Language: MDX
- Homepage: https://academy.developerdao.com
- Size: 127 MB
- Stars: 18
- Watchers: 1
- Forks: 11
- Open Issues: 36
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Next.js & Tailwind CSS Monorepo Template
This is a monorepo template using:
- ๐ [TypeScript 5.0](https://www.typescriptlang.org/)
- โก๏ธ [Next.js 13.2](https://nextjs.org/)
- โ๏ธ [React 18.2](https://reactjs.org/)
- ๐ฌ๏ธ [Tailwind CSS 3.3](https://tailwindcss.com/)
- ๐ [Storybook 7.0](https://storybook.js.org/)
- ๐งช [Testing Library](https://testing-library.com/)
- ๐ [Jest](https://jestjs.io/)
- ๐ญ [Playwright](https://playwright.dev/)
- ๐ก [Lighthouse](https://developer.chrome.com/docs/lighthouse/)
- ๐งน [ESLint](https://eslint.org/)
- ๐ค [CommitLint](https://commitlint.js.org/)
- ๐ [Prettier](https://prettier.io/)
- ๐ฆ [pnpm](https://pnpm.io/)
- ๐๏ธ [Turborepo](https://turbo.build/repo)
- ๐ท [Github Actions](https://github.com/features/actions)
## 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
```