Revolutionizing Project Setup with GetWebStack
- Vlad Nistorica
- Casework
- February 16, 2024
GetWebStack is a CLI designed to streamline project setup. As a start-up, it was looking for a robust infrastructure solution. The project focus is to drastically reduce initial setup times from weeks to less than an hour.
GetWebStack.com required an efficient, scalable, and cost-effective architecture.
In this case study we dive into the intricacies of the implemented system that seamlessly integrates frontends, APIs, databases, and a diverse set of tools.
Architecture Overview
The project GetWebStack.com boasts a sophisticated architecture comprising:
- two frontends
- an API
- a CLI
- a database
- a repository for pre-built micro-apps
The static frontend, implemented in Angular and deployed on Google Cloud Storage, handles landing pages and unauthenticated user content. The second frontend, also Angular-based, caters to user project management. Both frontends are pre-rendered, contributing to optimal load time.
The API, written in NodeJs, leverages the serverless capabilities of Google Cloud Run, ensuring scalability and efficiency. Google Cloud SQL serves as the primary database, while external Redis facilitates session management.
Key Components and Implementations
- CLI Deployment: The NodeJs-based CLI, a cornerstone of GetWebStack.com, is deployed to NPM, providing users with a seamless experience in accessing pre-built micro-apps.
- Micro-Apps Repository: A repository for pre-built micro-apps, stored on Google Cloud Storage, fuels the quick setup provided by GetWebStack.com.
- Build Pipelines: CircleCI orchestrates the build pipelines, managing the Angular and NodeJs templates. This includes repository setup on GitHub, installation of templates, and implementation of CircleCI pipelines and hostnames.
Infrastructure Setup
The comprehensive setup, completed within two weeks, involved steps, such as creating repositories on GitHub, template installations for Angular and NodeJs, and the configuration of CircleCI pipelines and hostnames.
Cost-Efficiency
Given the current low user volume, the monthly infrastructure cost for GetWebStack.com is impressively under 20 EUR. Leveraging serverless solutions like Google Cloud Run, storage solutions, and efficient deployment pipelines contributes to this exceptional cost-effectiveness.
Conclusion
The work we did for GetWebStack.com has resulted in a robust, scalable, and cost-efficient infrastructure that aligns with the initial CLI’s vision of simplifying project setups.
As GetWebStack.com continues to grow, the implemented architecture ensures adaptability and scalability, showcasing our commitment to delivering optimal solutions for evolving client needs in the dynamic landscape of modern development.