---
# System prepended metadata

title: Front door phase 2

---

# Front door phase 2

## Filters: 
1. Location
2. Date
3. product
4. event_type : online | in-person | hybrid


## Minimal replication
* Minimal data (i.e required for fitlers) from khoros communications to be stored in DB. 
* Data will be added basing on interval based fetching
* Data will be updated/deleted on khoros events api. 
* On user's request, we curate and fetch all neccessary fields from khoros from filtered result, which will be less in number.
* On users' request filters are going to apply on following criteria
    1. Product (string)
    2. Event type  (For events) (online | in-person | hybrid)
    3. Date (For events) (datetime)
    4. Location (geoSpatial)

* Remaining neccessary fields (i.e which are displayed on ui) to be fetched on curated result.
* Response will be sent out to client side.


### Data polling plan: 
1. We will have a poll function , which will get data from khoros and persist in DB. 
2. Poll function will take start and end times as inputs while invocation. 
3. To get all intial  data from khoros, we will run these with entended time differences. 
4. On a *fixed interval* basis, same function will be invoked to get new data from khoros. 
