Upload Multiple Images to Firebase Storage with Angular
We are creating a Project to upload angular multiple Images using a Firebase database.
Step-1. Create a new Angular Project open command window then write a command.
#ng new UploadImageApp
Step-2. Install firebase inside your App folder.
#cd UploadImageApp
#npm install angularfire2 firebase --save
Step-3 Go to firebase console then create a project then click project overview then go to project setting and get a firebase Api then go to app/enviroments/environments.ts file then Paste the firebase API.
Step-4. Go to the app folder then open app.module.ts Paste this code inside the app. module file
Step-5. Go to the app-routing.module.ts file then paste this code.
Step-6. Go to Command Window write a command
# ng g component upload-form
Step-7. Go to app/upload-form folder then open file-upload. component file pastes this code inside the file.
Step-8. Go to file-upload.component.html file inside the file paste this code.



Comments