This a demo PWA shop built with Angular
This an Angular9 project that’s a starter kit to anyone trying to build an ecommerce site.
The project is being hosted on firebase🔥 at: Demo
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run npm run build:prod
to build the project for produion. The production files will be found in the Dist folder at the root of your project.
Run npm run build:host
to build the project for produion and initialize the hosting process
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
There are a few things that you need to change for your own environment. On the environment.ts file, change the firebaseConfig settings to match your firebase console settings.
firebaseConfig: {
apiKey: ‘’,
authDomain: ‘’,
databaseURL: ‘’,
projectId: ‘’,
storageBucket: ‘’,
messagingSenderId: ‘’,
appId: ‘’,
}
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.