Folder Structure
As mentioned ealier, the app use Nx for monorepo setup. So the folder structure should be as follow.
namviek
├── nx.json
├── package.json
├── package-lock.json
├── packages
│ ├── be-gateway
│ ├── be-gateway-e2e
│ ├── be-scheduler
│ ├── be-scheduler-e2e
│ ├── be-storage
│ ├── goalie-nextjs
│ ├── shared-libs
│ ├── shared-models
│ ├── shared-pubsub
│ ├── shared-ui
│ ├── shared-validation
│ ├── ui-app
│ └── ui-app-e2e
├── README.md
├── tsconfig.base.json
└── yarn.lock
The packages
folder contains all source code. Look inside it you can see my main packages as:
Packages | Role |
---|---|
be-gateway | all api endpoints here |
be-sheduler | do some automation tasks by user configure or automation |
ui-app | it's the frontend that using Next.js |
goalie-nextjs | authentication section |
shared-models | mongodb collections here |
shared-ui | ui components like: Button, Message, Tooltip, Dialog |
More details
[WIP]