bridge

Automatic infrastructure for Django (by Never-Over)

bridge reviews and mentions

Posts with mentions or reviews of bridge. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-16.
  • Bridge – Automatic Infrastructure for Django
    2 projects | news.ycombinator.com | 16 Apr 2024
    The Problem

    We built bridge to solve the most frustrating part of any new project — infrastructure. Whenever you spin up a new Django project, you usually have to manually configure Postgres, background workers, a task queue, and more. The problem is amplified when you go to deploy your application — hosting providers don’t understand anything about what you’ve configured already, so you have to run through an even more complicated process to set up the same infrastructure in a deployed environment.

    The Fix

    bridge is a pip-installable package that spins up all of the infrastructure you need, and automatically connects it to your Django project. By adding a single line to your Django project's settings.py file, bridge configures everything for you — this means you don’t need to mess with DATABASES, BROKER_URL, or other environment variables to connect to these services.

    bridge also gives you the access you need to manage these services, including a database and Redis shell, as well as a Flower instance for monitoring background tasks.

    When you’re ready to deploy, bridge can handle that as well. By running bridge init render, bridge will write all of the configuration necessary to deploy your application on Render, including a button to trigger deploys straight from your README.

    If you don’t want all of these services, (say you already have a database, and just want to add background workers) bridge supports that too! It can automate everything you need and nothing you don’t.

    How it Works

    bridge is built on top of Docker, so you get fully isolated and up-to-date versions of Postgres and Redis from the beginning. Celery and Flower need to run on top of your app code, so we hook into runserver to spin these up as background processes. If you need to spin things down, bridge stop will conveniently shut down all services that it’s started.

    Coming Soon

    In the future, we want to add support for more services (jupyter, mail/mailhog etc), more hosting providers (Heroku, Railway, etc.), and more configuration (env vars, optional dependencies, etc).

    bridge is and always will be fully open source. Please give it a try and we’d love any feedback!

    Github - https://github.com/Never-Over/bridge

Stats

Basic bridge repo stats
2
41
9.5
9 days ago

Never-Over/bridge is an open source project licensed under GNU General Public License v3.0 only which is an OSI approved license.

The primary programming language of bridge is Python.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com