Description
Set up Firestore collections and services for storing and managing user data.
Objectives
Create Firestore configuration.
Design users collection schema.
Store user profile information after registration.
Implement CRUD operations for user records.
Add Firestore security rules.
Suggested Schema
users: {
uid: string,
name: string,
email: string,
role: string,
createdAt: timestamp
}
Acceptance Criteria
User records are created upon registration.
User information can be fetched and updated.
Firestore rules prevent unauthorized access.
Description
Set up Firestore collections and services for storing and managing user data.
Objectives
Create Firestore configuration.
Design users collection schema.
Store user profile information after registration.
Implement CRUD operations for user records.
Add Firestore security rules.
Suggested Schema
users: {
uid: string,
name: string,
email: string,
role: string,
createdAt: timestamp
}
Acceptance Criteria
User records are created upon registration.
User information can be fetched and updated.
Firestore rules prevent unauthorized access.