A starter pack for building dashboards with Angular
Live Demo: https://www.j1032.com/dashboard
Also available: ReactJS Edition
-
Technologies:
Built with Angular 18, Nest.js 9, Nx 20, RxJS 7, Angular Material CDK 18 and Bootstrap 5 -
Modern Development Practices:
Mono-repo structure with Nx
Containerized application stored on Amazon ECR
Angular standalone components and lazy loading
HTTP request throttling and caching
Liquid layout and SVG icons. -
Testing:
Unit testing with Jest
End-to-end(E2E) automation testing with Cypress -
Code Quality and CI/CD:
Code scanned with SonarQube
Gitlab CI/CD pipeline
Integrated Eslint and Prettier
- Publish the dashboard module as a standalone npm package.
- Increase unit test coverage.
- Add integration tess for webapi.
The pre-build image may not include the latest changes.
- Pull and run the production images from Amazon ECR (https://gallery.ecr.aws/x0r2c3f9/das)
docker compose -f docker-compose.prod.yml pull
docker compose -f docker-compose.prod.yml up
- Navigate to the following URLs: http://localhost:80
- Clone repository and Install dependencies
git clone https://github.com/j1032w/dashboard-starter.git
yarn install
- Build and run the development server:
docker compose -f docker-compose.dev.yml build
docker compose -f docker-compose.dev.yml up
- Navigate to the following URLs:
- UI: http://localhost:4200
- API (Swagger): http://localhost:3000/api-docs
- API (GraphQL Playground): http://localhost:3000/graphql
- Web API Inspect Port: 9229
Start development server
yarn dev
yarn ui:test
yarn ui:lint
yarn webapi:test
yarn webapi:lint
https://gitlab.com/j1032w/dashboard-starter/-/pipelines
https://sonarcloud.io/project/overview?id=j1032w_dashboard-starter
This project is designed to be simple and customizable.
Your contributions and donations are greatly appreciated!
👈🏻👈🏻👈🏻