Using json-server For Now - because I Can
In the starting days of launching my DIY-from-scratch blog, I decided to use json-server. What is it? Essentially, it's a stub - a tool that sets up a REST API from a plain JSON file in a matter of seconds. A server without a real database, without complex migrations, without an ORM. But right now - it's exactly what's needed.
Why? Because in the beginning, what matters is not perfectly setting up the infrastructure, but quickly getting a working prototype. So that the frontend can already fetch posts and metadata. It all'll be stored in a single db.json file, allowing me to avoid spending the first hours on the backend and immediately see how the interface breathes.
Yes, this is temporary. Later, there will be a migration to MongoDB. But for now - I can do this, and it provides speed and focus on what's essential. Sometimes, 'fast' and 'simple' is the best start for something long and complex.