forked from jamesp/sasa-membership
updated readme files to reflect earlier changes in last commit
This commit is contained in:
+11
-2
@@ -30,10 +30,10 @@ membership/
|
||||
│ │ ├── email_templates.py
|
||||
│ │ ├── events.py # Events and RSVPs
|
||||
│ │ └── feature_flags.py
|
||||
│ ├── core/ # Config, database, security, default data
|
||||
│ ├── core/ # Config, database, security, datetime helpers, default data
|
||||
│ ├── models/ # SQLAlchemy models
|
||||
│ ├── schemas/ # Pydantic schemas
|
||||
│ ├── services/ # Email, bounce, Square, feature flags
|
||||
│ ├── services/ # Email, bounce, Square, attendance, feature flags
|
||||
│ └── tests/ # Fast backend pytest unit tests
|
||||
│
|
||||
├── docker/
|
||||
@@ -64,9 +64,11 @@ membership/
|
||||
- **`backend/app/core/config.py`** - Settings management.
|
||||
- **`backend/app/core/init_db.py`** - Default membership tiers, super admin, email templates, and profile questions.
|
||||
- **`backend/app/core/security.py`** - JWT tokens and password hashing.
|
||||
- **`backend/app/core/datetime.py`** - UTC helpers and Zulu serialization helpers.
|
||||
- **`backend/app/models/models.py`** - Database tables.
|
||||
- **`backend/app/schemas/schemas.py`** - API request/response models.
|
||||
- **`backend/app/tests/test_profile_question_logic.py`** - Fast backend unit tests for profile answer validation.
|
||||
- **`backend/app/tests/test_datetime_utc.py`** - UTC normalization and serialization tests.
|
||||
|
||||
### Frontend Application
|
||||
- **`frontend/src/pages/Dashboard.tsx`** - Main member/admin dashboard.
|
||||
@@ -76,7 +78,9 @@ membership/
|
||||
- **`frontend/src/components/ProfileQuestionsForm.tsx`** - Member/admin answer form with dependency handling.
|
||||
- **`frontend/src/components/EmailTemplateManagement.tsx`** - Email template editing.
|
||||
- **`frontend/src/components/BounceManagement.tsx`** - SMTP2GO bounce management.
|
||||
- **`frontend/src/components/EspReaderManagement.tsx`** - ESP reader, card, tap, and attendance admin UI.
|
||||
- **`frontend/src/utils/profileQuestionLogic.test.ts`** - Fast frontend unit tests for profile-question visibility/editability.
|
||||
- **`frontend/src/utils/timezone.ts`** - Europe/London display helpers and UTC conversion utilities.
|
||||
|
||||
## API Endpoints
|
||||
|
||||
@@ -87,6 +91,7 @@ membership/
|
||||
- **`payments.py`** - Payment history, manual payments, Square config/process/refund.
|
||||
- **`events.py`** - Event CRUD, upcoming events, RSVP create/update, RSVP listing.
|
||||
- **`email.py`** - SMTP2GO test emails, welcome email tests, bounce webhook, bounce stats, cleanup, deactivation.
|
||||
- **`esp.py`** - ESP reader provisioning, time sync, tap capture, dashboard login, attendance, and queued write jobs.
|
||||
- **`email_templates.py`** - Database-backed template listing, lookup, update, and default seeding.
|
||||
- **`feature_flags.py`** - Public feature flag listing/lookup and super-admin-only reload.
|
||||
|
||||
@@ -104,6 +109,10 @@ Fully implemented:
|
||||
- **EmailTemplate** - Editable database-backed email templates.
|
||||
- **EmailBounce** - SMTP2GO bounce, complaint, and unsubscribe tracking.
|
||||
- **PasswordResetToken** - One-time password reset support.
|
||||
- **EspReader** - Provisioned RFID readers with UTC heartbeat and time-sync data.
|
||||
- **RfidTap** - UTC-normalized RFID tap records.
|
||||
- **AttendanceSession** - Attendance sessions driven by RFID taps.
|
||||
- **RfidCardWriteJob** - Queued RFID card write jobs.
|
||||
- **VolunteerRole** - Volunteer role definitions.
|
||||
- **VolunteerAssignment** - Member-to-role assignments.
|
||||
- **VolunteerSchedule** - Volunteer shift schedules.
|
||||
|
||||
Reference in New Issue
Block a user