Campaign Management
Overview
Admins manage time-limited campaigns with banner images, descriptions, and associated sponsors. Campaigns are publicly visible only within their date range.
Workflow
Step-by-Step: Create a Campaign
- Navigate to Admin → Campaigns (
/admin/campaigns). - Click "Create Campaign".
- Fill in: name, description, start date, end date, optional banner image URL.
- Click "Save".
- The campaign is visible to the public from
startDatetoendDate.
Step-by-Step: Add Sponsors to a Campaign
- Open the campaign in admin view.
- Navigate to the Sponsors tab.
- Click "Add Sponsor" and select an existing partner from the list.
- The sponsor appears on the public campaign detail page.
Application Properties
| Property | Default | Description |
|---|---|---|
cloudinary.cloud-name | renaultclubbulgaria | Campaign image storage |
Security Notes
- ADMIN only for all campaign operations.
- Date-range filtering is server-side — campaigns outside their date range are not returned by the API.
QA Checklist
- Create campaign with future startDate → not visible until startDate
- Campaign within date range → visible publicly
- Campaign past endDate → not visible in public list
- Add sponsor → sponsor shown on campaign detail page
- Remove sponsor → sponsor removed from campaign
- Delete campaign → removed from all lists