droidconKE / droidconKE2022ReactNative

Official DroidconKE 2022 React Native App
https://play.google.com/store/apps/details?id=com.brianwachira.droidconKE2022ReactNative&hl=en&gl=US
MIT License
8 stars 17 forks source link

[UI]: working on the feeds screen #57

Closed mog-rn closed 1 year ago

mog-rn commented 1 year ago

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes #11

Type of change

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Checklist:

mog-rn commented 1 year ago

Still finalizing on the styling

makunomark commented 1 year ago

Hey @Mogakamo please expect the response from the api to look like this:

{
    "data": [
        {
            "title": "Test",
            "body": "Good one",
            "topic": "droidconweb",
            "url": "https://droidcon.co.ke",
            "image": "http://localhost:8000/upload/event/feeds/dangyntvmaet8jgjpg.jpg",
            "created_at": "2020-03-19 18:45:49"
        },
        {
            "title": "niko fine",
            "body": "this is a test",
            "topic": "droidconweb",
            "url": "https://droidcon.co.ke",
            "image": null,
            "created_at": "2020-03-19 18:43:38"
        }
    ],
    "meta": {
        "paginator": {
            "count": 2,
            "per_page": "10",
            "current_page": 1,
            "next_page": null,
            "has_more_pages": false,
            "next_page_url": null,
            "previous_page_url": null
        }
    }
}