Bouquet to be continued...
This project was generated with Angular CLI version 1.6.5.
Run git clone https://github.com/QIANQIANHU/bouquetGallery
in the terminal, and go to this folder;
Make a free account at Firebase's website, https://firebase.google.com, and refer to https://www.learnhowtoprogram.com/javascript/angular-extended/firebase-introduction-and-setup setup your database with firebase;
Import sample-bouquets.json into your database (bouquetGallery/sample-bouquets.json);
Touch a file src/app/api-keys.ts
, in src/app/api-keys.ts paste this
export var masterFirebaseConfig = { apiKey: "xxxxx", authDomain: "xxxxx", databaseURL: "xxxxx", projectId: "xxxxx", storageBucket: "xxxxx", messagingSenderId: "xxxxx"
};
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 ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
- Firebase
- AJAX
- Postman
- ES6
- Node
- Jasmine
- karma
- HTML
- CSS
- JavaScript
- jQuery
- Bootstrap
Contact email: huqianqian@ymail.com
Copyright (c) 2018 qh