概要
Angular Example Appは、Angular 21で構築された、初心者にも扱いやすく本番利用に対応したWebアプリケーションです。CRUD操作、認証、i18n、遅延読み込み、シグナルなど、Angularの主要機能を実際のユースケースで紹介します。
Web・アプリ開発できること
- ✅ Angular 21 - Using latest features (Zoneless, Signals, OnPush)
- ✅ Internationalization - i18n with English and Spanish
- ✅ Authentication - JWT-based, real login flow
- ✅ Routing & Guards - Functional guards with lazy-loaded routes
計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- -2
- 1か月
- 0
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナル🚀 Angular Example App
Your all-in-one real-world Angular starter — built for learning, productivity, and scaling.
Crafted with ❤️ to showcase real best practices in action: standalone components, signals, routing, i18n, authentication and more.
Why This Project?
Whether you're just starting with Angular or looking for a solid base for your next app, this project has you covered.
- ✅ Beginner-friendly: Clean code, best practices, and detailed structure.
- ✅ Production-ready: Real APIs, authentication, modular architecture.
- ✅ Feature-rich: Not just a to-do list! Real-world logic you’ll use in any serious project.
- ✅ Made with love: Built by passionate developers, for the community.
Getting Started
There is no public demo: run the app locally. It works on its own (with the PokeAPI and a remote backend) or with the local backend described in Backend API.
npm i
npm start # opens http://localhost:4200 in English (npm run start:es for Spanish)
Running with the local backend
- Start the NestJS API from nestjs-example-app (
npm run setupthere) so it listens onhttp://localhost:3000. - In
src/environments/environment.ts, changeapiBaseUrlto'http://localhost:3000'. The file currently points to the production API, and the commented line above it shows the local value. - Run
npm startagain.
Do not commit that change unless you mean to.
Verification & Quality
npm run verify:all # Run lint, stylelint, tests, build, e2e, and lighthouse
npm run lint # Run ESLint
npm run stylelint:fix # Fix SCSS styles
npm run knip # Run Knip (Unused files and dependencies)
npm run prettier:write # Format all code
npm run test # Run Unit Tests (Vitest)
npm run test:coverage # Run Tests with coverage
Features
| ✅ Angular 21 | Using latest features (Zoneless, Signals, OnPush) |
| ✅ Internationalization | i18n with English and Spanish |
| ✅ Authentication | JWT-based, real login flow |
| ✅ Routing & Guards | Functional guards with lazy-loaded routes |
| ✅ Responsive Design | Mobile-first layouts with Flexbox and Grid |
| ✅ APIs | Example integration with the PokeAPI |
| ✅ Shoelace Components | Accessible and modern UI components |
| ✅ NgOptimizedImage | Fast image loading with Angular's directive |
| ✅ SSG & Prerendering | Static Site Generation for index and Pokémon pages |
| ✅ Animations | Smooth transitions with Angular Animations |
| ✅ Clean Architecture | Modular folder structure following best practices |
| ✅ SASS & BEM | Maintainable and scalable styling |
| ✅ Tests E2E | Using Playwright (POM, Visual, Accessibility) |
| ✅ Unit Tests | Using Vitest with high coverage (>95%) |
| ✅ Lighthouse | Verifying web performance with defined thresholds |
| ✅ Modern Quality | ESLint, Prettier, Stylelint, Husky, Knip, Release |
Roadmap
- Component & service testing with Vitest!
- Implement incremental hydration with Angular 21
- Opened issues?
Backend API
This app connects to a real backend powered by NestJS, PostgreSQL, and Prisma. You can explore the codebase here.
Found a bug? Got an idea?
We love feedback! If something doesn't work or you think of a cool new feature, open an issue or contribute directly with a PR.
Contributors
Tom Gamull 🚇 |
mansyaprime 💻 |
codeimmortal 💻 |
tomasfse 💻 |
golu 💻 |
rancyr 💻 |
codingphasedotcom 💻 |
Max 💻 |
Karajan 💻 |
Carl Chan 💻 |
Dyeimys Franco Correa 💻 |
Anartz Mugika Ledo 💻 |
OrlPep 💻 |
License
This project is licensed under the MIT License.
関連プロジェクトを探す
読み込み中…