Hey everyone! I'm diving into frontend web development for my job, and I've got a question about whether a static site generator (SSG) like Astro could work for us. We need to build a simple internal tool to manage configurations for some systems we've developed. Our tool doesn't need to be public, so security isn't a huge issue. The main features we want are basic CRUD operations with a clear API connection.
I initially thought an SSG wouldn't be suitable since our site would need to pull and update data dynamically. However, since Astro has options for dynamic integrations, I'm curious if that's a viable path or if I should consider something else entirely. We're also keen on keeping it straightforward—nothing too complex like a full CMS. Any advice on this would be greatly appreciated!
4 Answers
If you have a well-defined API, you might just build an admin interface instead of a full-fledged website. You could use Vue or another framework to create a cleaner GUI for managing the API calls without much hassle. Have you discussed this with your team to see if there's interest in building it?
Using a static site generator to create a management app sounds like a stretch since SSGs are typically for static content. If you want something more dynamic, you might consider frameworks like Vue or React, which can handle the API calls you need without overcomplicating things.
I'd recommend looking into Laravel or Django as they both offer great out-of-the-box solutions for CRUD operations. These frameworks simplify data management and can easily integrate with your existing APIs, making them more suitable than an SSG.
Actually, you can run Astro in server-side rendering (SSR) mode, which allows some of your pages to be dynamic while others can remain static. Check out their documentation for on-demand rendering; it could fit your needs and still give you the simplicity you like about Astro!
Yeah, we're actually the ones designing the management API! The idea is to create a GUI that can complement the CLI we're currently using.