Hey Dev Community! π
Today I want to take a moment to reflect on the first day I wrote C# code and implemented my very first PBI (Product Backlog Item) for the Blotz Task App. The task was to create a label entity, which would allow tasks to be categorized, similar to how platforms like Todoist handle tags. This was a great introduction to backend development in C#, and I learned a lot from the process!
What I Implemented
Hereβs a summary of what I worked on:
-
Label Entity: I created a
Label
class that will store labels for categorizing tasks. This involved setting up properties likeName
,Color
, andDescription
for each label. - Database Integration: After setting up the label entity, I integrated the class into the DbContext by adding some mock data. This allowed me to work with sample labels in the system.
- Data Migration: I also ran my first data migration to ensure that the label table and its properties were correctly reflected in the database. Learning how to run migrations and manage schema updates was a big step in my backend learning journey.
What I Learned
Through this experience, I learned some valuable backend development skills:
- Entity Framework Core: I got hands-on experience with Entity Framework Core, understanding how entities are mapped to database tables and how relationships are defined.
- Data Migrations: I learned how to run data migrations and update the database schema with new entities. This was crucial for ensuring my changes were properly applied in the database.
- Mock Data: Adding mock data to the DbContext was a fun way to see how my label entity would behave in the application. This helped me visualize how the app would categorize tasks using labels.
Overall, this experience gave me a deeper understanding of how backend systems work and how data is handled behind the scenes. I'm excited to continue learning and growing as I take on more backend tasks in this project!
Stay tuned for more updates as I continue to document my learning journey!
Top comments (0)