I started a new personal project and I've decided to go with my custom deployment setup instead of using a service like Heroku to host it.
One of the things I miss from services like Heroku is the config vars management.
It's so easy to use and it works as the source of truth for the app's configuration.
The idea with Envt is to have the same simplicity of managing ENV variables but for a custom setup.
Evnt looks for
env files inside a AWS S3 bucket, pulls them and opens a simple web app to edit the keys:
envt edit production --s3Bucket secrets
I've been working on a personal project and I've decided to invest on a custom deployment setup.
The only thing missing were the environment variable files. I wasn't finding a straight forward way of storing and managing the variables.
I've searched for an AWS service for this but couldn't find it, then I tested Vault but I felt it was too much setup for what I wanted to accomplish.
Given that I was familiar with S3, having a way to edit a configuration file from there would keep things familiar and easy to integrate with my CI/CD setup.
I've used Node.js since it easier to build this kind of tools.
The web app is pretty straight forward. It's an Express app which renders a simple Pug view.
Since there's some js sprinkles to add and remove keys and I wanted to try Vue.js, I've decided to use it for the frontend.
As for the style, I've used Tachyons. It's pretty useful CSS utility framework that allows us to build styles without having to write CSS or import a huge CSS framework.
Here's the Github link: https://github.com/joaquimadraz/envt
Let me know what you think! 😃