Writing an Analytics Server using Vapor Part 9 - Filtering in the Client app
I write a SwiftUI view that can alter the request to the server to filter events based on different criteria
I write a SwiftUI view that can alter the request to the server to filter events based on different criteria
I add a migration that can prepopulate the database with events for the client app to retrieve. Along the way, I develop a love-hate relationship with Vapor's Environment
I write a client app that accesses the server. I find a bug in my moddleware approach.
I add a couple endpoints for retrieving and counting users, then use the knowledge I gain to do some refactoring.
I finally start saving the UserEvent to a database
I vary the output of the endpoint depending on headers
I set up the UserEvent struct and make sure that the POST endpoint creates a UserEvent.
I install Vapor and create a new Vapor project, which I run locally
I introduce my adventures in creating an alaytics server using Vapor