imacrayon / eventsinwichita

Just Events in Wichita, nothing else.
https://eventsinwichita.com
MIT License
11 stars 6 forks source link

add events api endpoint #29

Closed lacasera closed 4 years ago

lacasera commented 4 years ago

This pr adds events api endpoint.

Test PR

  1. pull branch
  2. make a GET to /api/events?after={$afterDate}&before={$beforeDate}
  3. you should a response like
    {
     "results": [
        {
            "id": 593,
            "name": "Et doloribus libero nobis nulla sit animi.",
             "start": "2019-10-03T21:20:40+00:00",
             "end": "2019-10-04T00:20:40+00:00",
             "timezone": "America/Chicago",
             "location": "1322 Lupe Meadow Suite 224\nCheyenneside, MO 75144-8010"
        }
    ]
    }

Issue

28

lacasera commented 4 years ago

@imacrayon reverted changes to package-lock.json

imacrayon commented 4 years ago

Thanks, happy Hacktoberfest!