Angular 4 Development and Production Environments with Firebase

Welcome to Angular Firebase. Today, I’m going to show you how to create separate backend environments for development and production with Angular 4. Maintaining separate environments allows you to build and test new features without screwing up data from your live production app. Step 1 - Create two Firebase Projects Before jumping into the code, you will need two separate Firebase projects one for development and one for production. Step 2 Create the Environment Files I just cloned the FireStarter App from github and the first step is to create the environment files. If you created a new app with the Angular CLI, these files will be here by default. Also, make sure to add these files to your gitignore as they will hold sensitive credentials for your app. Step 3 paste in the fireb ... #angular #angular2 #angular4 #firebase #devops #deployment_environments #webdev #app_development 20170407 iaXhn5Wuk2c
Back to Top