Coder Social home page Coder Social logo

wlucha / angular-starter Goto Github PK

View Code? Open in Web Editor NEW
226.0 5.0 46.0 3.57 MB

:rocket: Angular 17 Starter with Storybook, Transloco, Jest, Cypress, Docker, ESLint, Material & Prettier :rocket:

License: MIT License

JavaScript 2.53% TypeScript 27.05% HTML 68.29% CSS 0.47% Dockerfile 0.66% Shell 1.02%
starter starter-kit material transloco jest compodoc webpack-bundle-analyzer angular angular-cli docker angular-docker eslint typescript prettier commit-lint boilerplate angular-material auditjs angular17 cypress

angular-starter's Introduction

81993396-d5142b00-9645-11ea-995f-98342b7d5c8f

The Angular starter / boilerplate project to start a new enterprise project.

Angular 17
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


Angular17 MIT Quality Gate Status Docker Pulls Docker Image Size (latest by date) StackShare

Deploy

Deploy

Demo

StackBlitz Demo

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
  • npm run compodoc - Generate 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

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

angular-starter's People

Contributors

andreigann avatar dependabot[bot] avatar spanic avatar wlucha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

angular-starter's Issues

angular-starter doesnt work on StackBlitz

Hi thanks for your work! Recently I try to checkout your project on StackBlitz, it doesnt work and stuck at Compiling application & starting dev server…

image

However when I checkout your repo locally, it seems work as expected. Not sure what is the cause and see if anyone has any workaround.

Error running tests with web workers

I used the following command to add a webworker to the app.component.ts.

Command
ng generate web-worker app

I'm getting the following error below:

The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node12', or 'nodenext'.

    14   const worker = new Worker(new URL('./app.worker', import.meta.url));

Can you suggest a solution to this problem?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.