A modern Angular 21 e-commerce application built with Angular CLI and Material Design.
Angular MarketPlace is a feature-rich marketplace frontend application built with Angular 21, providing a responsive and interactive user experience for buying and selling products.
- Framework: Angular 21.1.3
- Language: TypeScript 5.9
- UI Components: Swiper, RxJS for reactive programming
- Package Manager: NPM
- Node.js 12.22.12 or higher
- NPM 6.0 or higher
- Angular CLI 21.1.3
# Clone the repository
git clone <repository-url>
# Navigate to project directory
cd AngularMarketPlace
# Install dependencies
npm install
# Use the correct Node version
nvm use 12.22.12Run the development server with:
npm startThe application will automatically open in your default browser at http://localhost:4200/. The app will automatically reload when you modify source files.
Build the project for production:
npm run buildBuild artifacts will be stored in the dist/ directory.
Generate Angular components, services, directives, and more using Angular CLI:
# Generate a component
ng generate component component-name
# Generate a service
ng generate service service-name
# Generate other elements
ng generate directive|pipe|class|guard|interface|enum|moduleRun unit tests via Karma:
npm testRun E2E tests via Protractor:
npm run e2eAnalyze your bundle size:
npm run analyzeThis generates a visual representation of your bundle composition using source-map-explorer.
npm start- Start development servernpm run build- Build for productionnpm test- Run unit testsnpm run lint- Run linting checksnpm run e2e- Run end-to-end testsnpm run analyze- Analyze bundle size
- Angular - 21.1.3
- RxJS - Reactive programming library
- Swiper - Modern touch slider
- TypeScript - Type-safe JavaScript
- Karma & Jasmine - Testing frameworks
- Prettier - Code formatter
src/
├── app/
│ ├── components/
│ ├── services/
│ ├── guards/
│ ├── interceptors/
│ └── app.component.ts
├── assets/
├── environments/
└── styles/
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License.
For help with Angular, visit the official Angular Documentation or check the Angular CLI README.
