import { HttpClientModule } from '@angular/common/http';
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';

import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { CartComponent } from './cart/cart.component';
import { ProductsModule } from './products/products.module';
import { PageNotFoundComponent } from './page-not-found/page-not-found.component';
import { AuthModule } from './auth/auth.module';
import { ReactiveFormsModule } from '@angular/forms';
import { CommonModule } from '@angular/common';


@NgModule({
  declarations: [
     AppComponent,
     CartComponent,
     PageNotFoundComponent
  ],
  imports: [
     BrowserModule,
     ProductsModule,
     AppRoutingModule,
     HttpClientModule,
     AuthModule,
     ReactiveFormsModule,
     CommonModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})

export class AppModule { }
