<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Shubham Vaishnav on Medium]]></title>
        <description><![CDATA[Stories by Shubham Vaishnav on Medium]]></description>
        <link>https://medium.com/@shubham.vaishnav?source=rss-490b73ed384e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*ZWpNHlE5cbIlm4No.jpg</url>
            <title>Stories by Shubham Vaishnav on Medium</title>
            <link>https://medium.com/@shubham.vaishnav?source=rss-490b73ed384e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 15:32:05 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shubham.vaishnav/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Deploy your angular app on firebase]]></title>
            <link>https://medium.com/@shubham.vaishnav/deploy-your-angular-app-on-firebase-77db9b794c6?source=rss-490b73ed384e------2</link>
            <guid isPermaLink="false">https://medium.com/p/77db9b794c6</guid>
            <dc:creator><![CDATA[Shubham Vaishnav]]></dc:creator>
            <pubDate>Sat, 14 May 2022 17:20:00 GMT</pubDate>
            <atom:updated>2022-05-14T17:20:00.913Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/702/1*H9m7CowrDor6U9wOW_jK0Q.png" /></figure><p>To deploy your angular app on firebase follow the given steps.For deploying I assumed you have already created a angular project and make build using</p><p><em>ng build — prod</em></p><p><strong>Step 1 .</strong> login to your firebase console and create project complete the project setup by clicking continue</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eStj3RWXdUCme7A4yppfdg.png" /></figure><p><strong>Step 2.</strong> use below NPM command to install firebase-tools on your project</p><p><em>npm install — g firebase — tools</em></p><p><strong>Step 3.</strong> To connect angular CLI with firebase you need to authenticate using below command.</p><p><em>firebase login</em></p><p><strong>Step 4.</strong> Now you need to initialize firebase hosting.</p><p><em>firebase init hosting</em></p><p><strong>Step 5</strong>. you need to select your project created on firebase by clicking on existing projects you get all project name select appropriate one</p><p><strong>Step 6.</strong> now they are asking for public directory path to means path of index.html file within dist folder it may be “dist” or “dist/projectname”</p><p><strong>step 7.</strong> New file firebase.json added to your project folder which consist below code</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/825/1*BNHHxBWbGP5GuuC0HXyq_A.png" /><figcaption><strong>firebase.json</strong></figcaption></figure><p><strong>Step 8.</strong> Finally deploy using command</p><p><em>firebase deploy</em></p><p>and you get hosting url.Using this you can open your app anywhere</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=77db9b794c6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[how to implement forgot password using angularFire]]></title>
            <link>https://medium.com/@shubham.vaishnav/how-to-implement-forgot-password-using-angularfire-b1f643af623c?source=rss-490b73ed384e------2</link>
            <guid isPermaLink="false">https://medium.com/p/b1f643af623c</guid>
            <dc:creator><![CDATA[Shubham Vaishnav]]></dc:creator>
            <pubDate>Sat, 14 May 2022 17:17:02 GMT</pubDate>
            <atom:updated>2022-05-14T17:17:02.748Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/702/1*H9m7CowrDor6U9wOW_jK0Q.png" /></figure><p>Implementing forgot password in angular app with firebase is easy with angularFire library which provide inbuilt functions for communication between angular and firebase</p><p>For this i assume you already implemented email/password auth in your app</p><p>Follow the given simple steps to implement forgot password</p><p><strong>Step 1.</strong> Go to your auth service and create function for forgot password in that use angularFire’s sendPasswordResetEmail method and pass email to that</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/813/1*dSjBbf5oGtHVrDbrjS1agQ.png" /><figcaption><strong>auth.service.ts</strong></figcaption></figure><p><strong>Step 2.</strong> Import service in your component and call forgot password function declare in service</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/853/1*9sC0LAcbDlBe0SKXzQxhbQ.png" /><figcaption><strong>forgot.component.ts</strong></figcaption></figure><p><strong>step 3.</strong> Take email as an input in your HTML</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/869/1*MG9_VnwDzRbpFrhmi3yfaQ.png" /><figcaption><strong>forgot.component.html</strong></figcaption></figure><p>Your forgot password is implemented click on forgot password enter your email and click on send button you get password reset link on given email</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b1f643af623c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Firebase Email Password Authentication with]]></title>
            <link>https://medium.com/@shubham.vaishnav/firebase-email-password-authentication-with-81140a6c4085?source=rss-490b73ed384e------2</link>
            <guid isPermaLink="false">https://medium.com/p/81140a6c4085</guid>
            <dc:creator><![CDATA[Shubham Vaishnav]]></dc:creator>
            <pubDate>Sat, 14 May 2022 17:08:45 GMT</pubDate>
            <atom:updated>2022-05-14T17:08:45.341Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/702/1*H9m7CowrDor6U9wOW_jK0Q.png" /></figure><p><strong>Step 1.</strong> Go to your firebase project click on Authentication in that go to the sign-in-method tab in that there are various authentication method choose the email/password method and make it enable so we can use it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hAI35mRGS2WO1qyPOHD9-Q.png" /><figcaption><strong>enable email/password</strong></figcaption></figure><p><strong>Step 2.</strong> Go to your angular app in app.module.ts and import AngularFireAuthModule</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/507/1*WcvyIZ11X8UemPvuRT8-8g.png" /></figure><p><strong>Step 3.</strong> create one service for auth</p><p><em>ng g s services/auth</em></p><p>and create method for signUp, signIn and logout using firebase inbuilt functions</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/693/1*g5sTUBZ_-TXDa2N-8-HNJQ.png" /><figcaption><strong>auth.service.ts</strong></figcaption></figure><p><strong>Step 4.</strong> Create component for login,register and logout for now i used app component to demonstrate. copy the below code in app.component.ts</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/519/1*qrts1krNNu80SzmZ3RgYUw.png" /><figcaption><strong>app.component.ts</strong></figcaption></figure><p><strong>Step 5.</strong> Take input box to get input in app.component.html</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/687/1*cCq1-COO1i5h1-W2JGTK8w.png" /><figcaption><strong>app.component.html</strong></figcaption></figure><p>And here we are implemented email password authentication of firebase in our angular app</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=81140a6c4085" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Firebase CRUD Operations Using With Angular]]></title>
            <link>https://medium.com/@shubham.vaishnav/firebase-crud-operations-using-with-angular-aedaf6b77a57?source=rss-490b73ed384e------2</link>
            <guid isPermaLink="false">https://medium.com/p/aedaf6b77a57</guid>
            <dc:creator><![CDATA[Shubham Vaishnav]]></dc:creator>
            <pubDate>Sat, 14 May 2022 17:05:39 GMT</pubDate>
            <atom:updated>2022-05-14T17:05:39.734Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/702/1*H9m7CowrDor6U9wOW_jK0Q.png" /></figure><p>Firebase provides Firestore service to store data.Its easy and quick to use.</p><p>Firebase provided angularFire library to connect with angular application angularFire has many inbuilt firebase functions.We are going to perform CRUD operations using this things</p><p>If you go to the your firebase console,Go to the project and click on Firestore.So you can see there are Firestore database in that you can make a collection its like a table in database it contains documents.Each document has there unique ID and contains data in the object form</p><p>You cannot create collection under the collection for that you need to create document and then create collection under document</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BMuDz6tR23os7QQFejjnfg.png" /></figure><p>In this Tutorial we are going to use collection of products.So for that first create model for product</p><p><strong>Step 1.</strong> Create file name products.model.ts</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/959/1*O-O1BXZILEOueCsjNM8g_w.png" /><figcaption><strong>products.model.ts</strong></figcaption></figure><p><strong>Step 2.</strong> First import the AngularFirestoreModule in app.module.ts file and make entry in imports array.</p><p>import { AngularFirestoreModule } from ‘@angular/fire/firestore<strong>’</strong></p><p><strong>Step 3.</strong> Create service for Firestore</p><p><em>ng g s services/firestore</em></p><p>Let’s import products model and AngularFireStore in our service.You Need to inject this service in your component and call this function and pass data</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/693/1*nScfbQk5F8MLSp567n_bXg.png" /><figcaption><strong>firestore.service.ts</strong></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aedaf6b77a57" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to configure firebase with angular project]]></title>
            <link>https://medium.com/@shubham.vaishnav/how-to-configure-firebase-with-angular-project-f9ef8ef77247?source=rss-490b73ed384e------2</link>
            <guid isPermaLink="false">https://medium.com/p/f9ef8ef77247</guid>
            <category><![CDATA[firebaseauth]]></category>
            <category><![CDATA[firebase]]></category>
            <category><![CDATA[angularfire]]></category>
            <dc:creator><![CDATA[Shubham Vaishnav]]></dc:creator>
            <pubDate>Sat, 14 May 2022 16:55:29 GMT</pubDate>
            <atom:updated>2022-05-14T16:55:29.577Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/702/1*H9m7CowrDor6U9wOW_jK0Q.png" /></figure><p>Follow the following steps to configure firebase with your angular</p><p><strong>step 1 .</strong> Create new angular project using angular CLI</p><p>Use this command</p><p>Ng new project-name</p><p><strong>step 2 .</strong> Install angularFire Using following NPM command</p><p>npm install firebase @ angular / fire — save</p><p><strong>step 3 .</strong> Create your firebase account or used existing one.Go to the Firebase console after login Click on Create project.Create project by giving appropriate project and complete their steps by clicking on continue button</p><figure><img alt="create project image" src="https://cdn-images-1.medium.com/max/1024/1*eStj3RWXdUCme7A4yppfdg.png" /></figure><p><strong>step 4 .</strong> Create firebase.ts file in environments folder go to the firebase project click on setting icon at top left. Go to project setting and find below credentials.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t3I1FEXd3qJIKS9oCsTvhg.png" /></figure><p>copy that credentials and paste in firebase.ts file</p><figure><img alt="code" src="https://cdn-images-1.medium.com/max/823/1*5ebJ8G4ceRSvL3azV4cOag.png" /><figcaption><strong>firebase.ts</strong></figcaption></figure><p>There are another ways to use credentials like in environment.ts file but it leads duplicacy of code because you need to use same code in environment.prod.ts file. So use separate file for firebase is best way</p><p><strong>step 5 .</strong> import AngularFireModule and firebase.ts file in app.module.ts, then add AngularFireModule into the imports array.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/825/1*_eMEqMcklIQK-daDtqTofA.png" /><figcaption><strong>app.module.ts</strong></figcaption></figure><p><strong>Note :-</strong> For connecting angular app with firebase only AngularFireModule Is required and for using any other service like authentication database or firestore you need to import their appropriate modules</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f9ef8ef77247" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>