This project was generated with Angular CLI version 7.3.8. Appointment App built Angular and Google Firestore
- Angular
- Google Firestore
- Bootstrap
- Fontawesome
-
Go to Google Cloud Platform and create a Collection. The app stores documents to the collection 'appointments'.
-
Create the environment.ts files with the information from Google Console
export const environment = {
production: false,
firebase : {
apiKey: '',
authDomain: ' ',
databaseURL: ' ',
projectId: ' ',
storageBucket: ' ',
messagingSenderId: ' ',
appId: ''
}
};
- Download the repo
git clone https://github.com/mpechjr/angular-firestore-appointment
- Install packages and start the app.
ng serve
Go to http://localhost:4200 to see your app.
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 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.