Bridge the gap between your browser and your data, securely and efficiently.
PostPipe 2.0 is a cutting-edge platform designed to enable secure data access without exposing your database credentials. Built on the principle of Zero Trust, it ensures that your sensitive keys never leave your infrastructure.
Traditional secure tunnels or cloud proxies often require some level of trust in the intermediary. PostPipe flips this on its head by utilizing a Zero Trust Connector model.
Your database credentials should never leave your infrastructure.
The PostPipe architecture consists of three main components:
- PostPipe SaaS (The Lab): The central orchestration layer and dashboard. It manages forms and connectors but never sees your database credentials.
- The Connector: A self-hosted, lightweight Node.js secure agent that lives next to your database (on your laptop, server, or cloud VPC). It connects outbound to PostPipe SaaS using a secure ID and Secret.
- The Browser: The client-side interface that initiates requests. final
- Request: User initiates a request (e.g., submits a form) via the Browser to PostPipe SaaS.
- Handoff: PostPipe SaaS identifies the active connector.
- Execution: The Connector receives the instruction, executes the query locally using credentials stored only in its local
.envfile, and securely sends the result back. - Delivery: PostPipe SaaS relays the result to the browser.
- 🔒 Zero Trust Connectors: Secure interactions without exposing DB credentials.
- 🌍 Universal Database Support: Connect to MongoDB, PostgreSQL, DocumentDB, and more.
- ⚡ CLI Ecosystem: A powerful suite of CLI tools (
create-postpipe-connector,create-postpipe-ecommerce, etc.) to scaffold applications in seconds. - 🧪 Dynamic Lab: A sophisticated testing environment for your integrations.
- 📦 Monorepo Architecture: specific, modular, and scalable codebase.
Expertly crafted documentation to get you up and running:
- Introduction: Deep dive into the philosophy and architecture.
- Getting Started: Step-by-step guide to running your first simulation.
- Architecture: Technical overview of the system.
- CLI Tools: Comprehensive guide to the PostPipe CLI ecosystem.
To run PostPipe locally, you need Node.js and Docker Desktop installed on your machine.
-
Install Dependencies:
npm install
-
Configure Environment Variables: Create a
.envfile in the root directory if you haven't already:MONGODB_URI="mongodb://localhost:27017" MONGODB_DB_NAME="postpipe_core" JWT_SECRET="your-secret-key"
-
Start the Local Database: Make sure Docker Desktop is running, then spin up the local MongoDB instance:
npm run db:start
-
Seed the Database (Required for first login): Because the local database starts empty, run the seed scripts to populate an admin user and mock connector:
# Creates an admin user (postpipe@admin.com / password123) npm run db:seed-user # Generates a mock connector in the dashboard npm run db:seed-connectors
-
Start the Application:
npm run dev
The app will be available at http://localhost:9002.
-
Stopping the Database: When you're done developing, you can stop the database container gracefully:
npm run db:stop
See the full Getting Started Guide for details on architecture and advanced configurations.
This project is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License.
See the LICENSE file for the full text.
Built with ❤️ by the PostPipe Team