29 lines
1.8 KiB
Markdown
29 lines
1.8 KiB
Markdown
# Coffee Project Frontend
|
|
|
|
Next.js application structured with Feature-Sliced Design and configured to run with Bun.
|
|
|
|
## Notes
|
|
|
|
- Keep the `pages` folder in the project root; removing it can cause a build error with Next.js.
|
|
- Bun is the package manager: `bun install`, `bun dev`, `bun run build`, `bun run lint`.
|
|
|
|
## Folders
|
|
|
|
| Folder | Description |
|
|
| ------------ | --------------------------------------------------------------------------------------------------------------- |
|
|
| app | Next App folder for [App Routing](https://nextjs.org/docs/app/building-your-application/routing#the-app-router) |
|
|
| pages \* | Next Pages folder for [Pages Routing](https://nextjs.org/docs/pages) |
|
|
| public | Public files |
|
|
| src/app | App FSD Layer |
|
|
| src/pages | Pages FSD Layer |
|
|
| src/widgets | Widgets FSD Layer |
|
|
| src/features | Features FSD Layer |
|
|
| src/entities | Entities FSD Layer |
|
|
| src/shared | Shared FSD Layer |
|
|
|
|
## Tooling
|
|
|
|
- ESLint
|
|
- Prettier
|
|
- Stylelint
|