š Angular 18 + Cypress, Material + Transloco + Jest, EsLint + Docker + Prettier š
wlucha
Posted on August 4, 2024
This is an Angular 18 Starter with Material, Cypress, Transloco, Jest, Compodoc, Docker Support, ESLint & Prettier.
GitHub: https://github.com/wlucha/angular-starter
ā
Angular 18
ā
Angular Material
ā
Unit Testing with Jest
ā
End-to-End Testing with Cypress
ā
Internationalization with Transloco
ā
Auto documentation with Compodoc
ā
Provide component examples with Storybook
ā
Analyse your project with source-map-explorer
ā
Docker
ā
ESLint
ā
Prettier
ā
Commit Linting
ā
AuditJS Audit this application using Sonatype OSS Index
ā
Auto-generate a CHANGELOG with auto-changelog
Deploy
Install / Development
# Clone the project
$ git clone https://github.com/wlucha/angular-starter
$ cd angular-starter
# Install dependencies
$ npm install
# Start server
$ npm run start
# Open in browser: http://localhost:4200
Docker Deployment
# Build Docker image
$ docker build . -t angular-starter
# Run Docker Container
$ docker run -p 3000:80 angular-starter
Docker Hub
https://hub.docker.com/r/wlucha/angular-starter
Commands
- `npm run start` - Start the app
- `npm run lint` - Lint the project
- `npm run test` - Run unit tests
- `npm run build` - Build the project
- `npm run build:prod` - Build the project in production mode
- `npm run build:prod:stats` - Build the project in product mode with stats
- `npm run analyse` - Analyse bundle with [webpack-bundle-analyzer](https://github.com/webpack-contrib/webpack-bundle-analyzer)
- `npm run compodoc` - Generate [compodoc](https://github.com/compodoc/compodoc) documentation
- `npm run version` - Generate changelog
- `npm run prettier` - Format the whole project
- `npm run audit` - Audit this application using Sonatype OSS Index
License
MIT License
Copyright (c) 2024 Wilfried Lucha
Posted on August 4, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
August 4, 2024