Docs
API / SetupFirebase Integration for ApplyPro

Firebase Integration for ApplyPro

Integrating Firebase with ApplyPro allows efficient management of user data through Cloud Firestore. This integration ensures that all user-related information is securely stored, easily accessible, and well-organized, providing a seamless experience for both administrators and users.

Firebase Console

Access and manage your Firebase project through the Firebase Console.

Managing User Data with Cloud Firestore

Cloud Firestore is used to manage and monitor user data within ApplyPro. It allows for real-time data synchronization, scalability, and robust security.

Key Features

  • Edit Data: Easily update user information, resumes, and other documents.
  • Remove Data: Delete user accounts and associated data when necessary.
  • Block Users: Manage blocked emails to prevent abuse of the free tier.
  • Monitor Storage: Keep track of storage usage for user PDFs, resumes, and other documents.

Main Shortcuts

  • Authentication (Auth): Manage user authentication and authorization.
  • Firestore Database: Monitor and manage the storage of user PDFs, resumes, and other documents.

Firestore Collections

1. Users

  • Description: Contains all user profile data.
  • Structure:
    • /users/{userId}
      • name: User's full name.
      • email: User's email address.
      • profileData: Additional profile information.

2. Resumes

  • Description: Stores user-uploaded resumes.
  • Structure:
    • /resumes/{resumeId}
      • userId: Reference to the user.
      • resumeUrl: URL to the PDF resume stored in Firebase Storage.
      • uploadedAt: Timestamp of when the resume was uploaded.

3. BlockedEmails

  • Description: Manages emails of users who have removed their accounts to prevent abuse of the free tier.
  • Structure:
    • /blockedEmails/{emailId}
      • email: User's email address.
      • blockedUntil: Date until which the email is blocked (30 days after account removal).

Managing Data in Firestore

Editing Data

  1. Navigate to Firestore: From the Firebase Console, select Firestore Database.
  2. Select Collection: Choose the appropriate collection (e.g., users, resumes).
  3. Edit Document: Click on the document you wish to edit and update the necessary fields.

Removing Data

  1. Navigate to Firestore: From the Firebase Console, select Firestore Database.
  2. Select Collection: Choose the collection containing the document you want to delete.
  3. Delete Document: Click on the document and select the Delete option.

Blocking Emails

  1. Navigate to Firestore: From the Firebase Console, select Firestore Database.
  2. Select blockedEmails Collection: Choose the blockedEmails collection.
  3. Add Blocked Email: Click Add Document and enter the email address along with the blockedUntil timestamp.

Best Practices

  • Secure Data Access: Implement Firebase Security Rules to ensure only authorized users can access or modify data.
  • Regular Backups: Regularly back up your Firestore data to prevent data loss.
  • Data Validation: Use Cloud Functions to validate data before it is written to Firestore.
  • Monitor Usage: Keep an eye on Firestore usage and optimize queries to reduce costs.

Note: We do not store any user payment information. Only metadata such as customer ID, user tier, email, Firebase userID, and email are stored to ensure user privacy and security.

Conclusion

Integrating Firebase with ApplyPro provides a robust solution for managing user data, ensuring data integrity, security, and scalability. By leveraging Cloud Firestore, we can efficiently handle user authentication, resume storage, and manage blocked emails to maintain the integrity of our free tier offerings.

For further assistance, contact support at support@applypro.ai.


Docs
Copyright © ApplyPro LLC. All rights reserved.