Skip to content
Mikaela Caron
Go back

Building in Public - Expense Tracker 05: Creating Models with Vapor and Fluent

I’m building an expense tracker app, and live streaming the whole process! This blog series is a written form of each livestream.

See all the previous posts.

I started this steam by adding a property that I forgot during the last stream, thankfully someone pointed this out to me afterwards.

Next I created the Fluent models.

Models represent data stored in tables or collections in your database. Models have one or more fields that store codable values. All models have a unique identifier. Property wrappers are used to denote identifiers, fields, and relations.

Vapor docs - Fluent

Models:

These are the models that represent the data in the database, in the next stream, I’ll create some API routes to begin testing if everything works!

Livestream

https://youtu.be/1oyg0EpTFCo

05 Expense Tracker - Creating Models with Vapor | Building in Public Livestream | Mikaela Caron


Share this post:

Previous Post
How to Learn SwiftData in 2023
Next Post
Building in Public - Expense Tracker 03: Planning an iOS App