This is the ninth episode in the reality show about the development SaaS app from scratch. The previous episodes:
Open SaaS development from scratch: why and what
Day 1: requirements and UI wireframes
Day 2: admin pages
Day 3: user pages
Day 4: database models, database update, and a couple of new wireframe pages
Day 5: started API and made changes to the database models
Day 6: created the admin board and new problems
Day 7: board settings page
Day 8: board settings page, more details and tabs
Yesterday I started working on the metadata of board settings which includes custom statuses, categories, post types, and tags.
First of all, I decided to create a generic React component that would serve all these data and can be injected easily. Also, it should connect to the same API that I should not duplicate for each of these 4 metadata structures.
I first created the component itself, inject it into the page and started testing. What I had looked something like that:
Then I created a common API (with just 2 methods for POST and GET requests for all 4 metadata) but I didn't have time to debug and test it yet.
Then at night, when I almost felt in sleep, it came to me that the application that end-user would see, and the admin dashboard are probably different. I have to elaborate on this idea and, if it's true, it makes the whole project a little bit more complicated.
Time spent: 2,5 hours
Total time spent so far: 17,5 hours