Welcome to OverkillMonorepo!
It is a monorepo with two Angular applications, one for todo management and one for user management.
Without modules and without constructors, I used NGXS for state management.
I used NX types and scopes to organize the code. Check .eslintrc.json more details.
"depConstraints": [
{
"sourceTag": "type:app",
"onlyDependOnLibsWithTags": ["type:feature"]
},
{
"sourceTag": "scope:todo-list",
"onlyDependOnLibsWithTags": ["scope:todo-list", "scope:shared"]
},
{
"sourceTag": "scope:user-management",
"onlyDependOnLibsWithTags": ["scope:user-management", "scope:shared"]
},
{
"sourceTag": "scope:shared",
"onlyDependOnLibsWithTags": ["scope:shared"]
},
{
"sourceTag": "type:feature",
"onlyDependOnLibsWithTags": ["type:feature", "type:facade", "type:data-access", "type:ui", "type:util"]
},
{
"sourceTag": "type:facade",
"onlyDependOnLibsWithTags": ["type:state"]
},
{
"sourceTag": "type:state",
"onlyDependOnLibsWithTags": ["type:data-access", "type:util"]
},
{
"sourceTag": "type:data-access",
"onlyDependOnLibsWithTags": ["type:data-access", "type:util"]
},
{
"sourceTag": "type:ui",
"onlyDependOnLibsWithTags": ["type:ui", "type:util"]
},
{
"sourceTag": "type:util",
"onlyDependOnLibsWithTags": ["type:util"]
}
]Feel free to make any suggestions or improvements.
✨ This workspace has been generated by Nx, a Smart, fast and extensible build system. ✨
Run npm run start:todo for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you
change any of the source files.
Run npm run start:usermanagement for a dev server. Navigate to http://localhost:4200/. The app will automatically
reload if
you change any of the source files.
Run npm run graph to see a diagram of the dependencies of the projects.