---
# System prepended metadata

title: Full Stack Developer Assessment Question
tags: ['#django', '#python', '#reactjs']

---

Please create a `cursor-based pagination List API` with dummy data in Django.

The dummy data should comprise a list of car dealers.

Next, utilize this API in a React.js infinite scroll and implement a search box by the dealer's name.

Additionally, ensure the ability to filter by city on the frontend.

Note : The mechanisms for filtering by city and searching by name should be implemented on the server-side API, with access provided to the frontend.

Note : Ensure that this full-stack application can be executed using Docker.

**Dummy Data**



```
{
    "next": "https://api.motocar-dealer.org/api/v2/cars?country=1&cursor=cD0xMTE%3D&lang=en&ordering=-popularity&search=SomeDealer&city=",
    "previous": null,
    "results": [
        {
            "id": 54,
            "name": "Car Master Co., Ltd.",
            "name_en": "Car Master Co., Ltd.",
            "license_number": "01715/2023",
            "status": "Operational",
            "logo": "https://api.motocar-dealer.org/media/images/avatars/car-master-300x300_z06MJNe_DcHZKp4_Eh9cgZL.jpg",
            "email": "carmaster@gmail.com",
            "rating_score": 4.2717,
            "rating_count": 157,
            "comments_count": 865,
            "popularity": 1022,
            "city": 1
        },
        {
            "id": 9,
            "name": "Far Far Away Co.,Ltd.",
            "name_en": "Far Far Away Co.,Ltd.",
            "license_number": "19011/2023",
            "status": "Operational",
            "logo": "https://api.motocar-dealer.org/media/images/avatars/far-far-away-300x300_gCs8VyL_nseSIer_e0p9ePc_qEYMtlH_wi2YUNU_KRKRKEn__6O2Ayc3.jpg",
            "email": "farfaraway@gmail.com",
            "rating_score": 4.1575,
            "rating_count": 141,
            "comments_count": 754,
            "popularity": 895,
            "city": 2
        },
        // ... (rest of the data)
    ]
}
```
