title: How can I use Firebase Admin SDK in my Angular application?
body: <p>How can I use Firebase Admin SDK in my Angular application?</p>
  
  <p>I currently have an application that is implementing the Firebase Authentication authentication services, all I currently need to register, authenticate a user is in <a href="https://github.com/angular/angularfire2/blob/master/docs/auth/getting-started.md" rel="nofollow noreferrer">Angularfire2</a>.</p>
  
  <p>I've been seeing and the Firebase Admin SDK can not be used on the front end I would have to create a back end using Node.js configuring as Introduction to the <a href="https://firebase.google.com/docs/admin/setup?hl=pt-br#add_firebase_to_your_app" rel="nofollow noreferrer">Admin SDK</a> loading a file with the credentials of my project.</p>
  
  <p>I have been trying to <code>import * as admin from 'firebase-admin';</code> directly into a service file but I have a return with several errors due to how Firebase Admin should be implemented.</p>
  
  <p>To delete a user I use Cloud Functions, I check when the user is deleted in the database and then I also exclude in Firebase Authentication.</p>
  
  <p>I use Firebase Hosting to upload my application, I wonder if I can use <a href="https://www.npmjs.com/package/express" rel="nofollow noreferrer">Express.js</a> and if I can not, what I can use to make use of all the <a href="https://firebase.google.com/docs/auth/admin/manage-users?hl=pt-br" rel="nofollow noreferrer">User Management</a> functions through Admin SDK to Node.js in my Angular application.</p>