PocketBase: Lightweight Backend for Modern Prototyping

PocketBase is an open-source backend written in Go, designed to be lightweight, fast, and developer-friendly. It’s ideal for developers building prototypes, local-first applications, or lightweight production apps without managing a complex backend stack. What is PocketBase? PocketBase is a single-binary backend that includes: Embedded SQLite database RESTful and WebSocket APIs File storage system User authentication (email/password, OAuth2) Web-based admin UI Built-in data validation and access control It runs entirely from a single executable, requiring no external services or runtime dependencies. ...

May 25, 2025 · 2 min · 419 words · Wei Wang

Getting Started with HashiCorp Vault

In modern applications, securing sensitive data like API keys, passwords, and certificates is critical. HashiCorp Vault is a powerful open-source tool designed to manage secrets and protect sensitive data. What Is HashiCorp Vault? Vault helps you: Securely store and access secrets Dynamically generate credentials (e.g., DB credentials) Encrypt/decrypt data without storing it Manage access through fine-grained policies Key Concepts Secrets Engine: Backend that stores secrets (e.g., KV, AWS, DB). Authentication Method: How clients authenticate (e.g., Token, AppRole). Policies: Define who can do what. Leases: Automatic expiration of secrets. Getting Started 1. Install Vault macOS brew install vault Windows Chocolately choco install vault Manual Installation Download the Vault binary from https://developer.hashicorp.com/vault/downloads. Unzip and add the Vault executable to your system’s PATH. 1.1 Running the vault (Dev Mode) vault server -dev Vault starts in dev mode with a root token printed in the console. ...

May 7, 2025 · 2 min · 295 words · Wei Wang