3
2 Comments

I'm building SaaS and documenting the process. Day 5: started API and made changes to the database models

This is the fifth 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

I started coding API.

First of all, I created a simple method to create a new post.

Then I do the same for creating a new board.

Then I realized that I would probably want to have multiple user owners having access to the same board. What means the relationship between those two entities (user and board) can be many-to-one as I thought before. So, I created one additional table connecting these two (see this manual for reference: https://docs.sqlalchemy.org/en/13/orm/basic_relationships.html

Then I updated the database itself.

Time spent: 1 hour
Total time spent so far: 7 hours 10 minutes

on March 10, 2020
  1. 2

    Love the updates. Have you tested the idea and talked to anyone yet?

    1. 1

      Love the updates.

      Thanks!

      Have you tested the idea and talked to anyone yet?

      Not yet but competitors did :)

      Actually, the point of this project is to create a SaaS app and show people how easy and cheap (or hard and expensive, I don't know yet :) it can be done. The side effect would be if I'm able to sell it but it's another story.

Trending on Indie Hackers
From building client websites to launching my own SaaS — and why I stopped trusting GA4! User Avatar 39 comments I built a tool that turns CSV exports into shareable dashboards User Avatar 35 comments The “Open → Do → Close” rule changed how I build tools User Avatar 31 comments I lost €50K to non-paying clients... so I built an AI contract tool. Now at 300 users, 0 MRR. User Avatar 23 comments Everyone is Using AI for Vibe Coding, but What You Really Need is Vibe UX User Avatar 23 comments Learning Rails at 48: Three Weeks from Product Owner to Solo Founder User Avatar 19 comments