Iām building an expense tracker app, and live streaming the whole process! This blog series is a written form of each livestream.
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:
- Account
- Category
- Expense
- Income
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!