Ismaestro/angular-example-app
حول
تطبيق ويب جاهز للإنتاج وسهل على المبتدئين، مبني باستخدام Angular 21. يقدم مثالًا عمليًا على ميزات Angular الأساسية، مثل عمليات CRUD والمصادقة والتدويل والتحميل الكسول والإشارات.
تطوير الويب والتطبيقاتما يمكنك فعله
- ✅ 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 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- -٢
- خلال شهر
- ٠
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
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.
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…