Skip to content

Devin-Applications/reflex-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

Web apps in pure Python, Built in a few minutes!

Build anything, faster

Create your whole app in a single language. Don't worry about writing APIs to connect your frontend and backend

Deploy on Railway

Any use case

With Reflex you can build anything from internal tools and data apps to complex multi-page apps

It's just Python

The app state is just a class. State updates are methods in the class. And the UI is a reflection of the state

Write your entire app in Python [Frontend]

No more switching between languages and frameworks. Use one language for your whole stack

  • 60+ built-in UI Components

    Reflex comes with a large library of UI components ranging from simple buttons to complex graphs and tables.

    Check out the full library

  • Custom Components

    Create your own components in a few lines of code. Simply wrap the React component of your choice.

    Wrapping React Guide

  • Completely customizable

    All Reflex components are fully customizable. Change the colors, fonts, and styles to match your project

    Styling Guide

  • Now everyone can work across the full-stack

    With Reflex every engineer can work across the whole stack allowing for a more efficient and productive workflow

Skip the boilerplate and get started faster [Backend]

Reflex comes with a powerful backend built with FastAPI and SQLAlchemy

  • Batteries included

    Skip the boilerplate and get started faster. Reflex integrates the frontend and backend so there is no need to write API endpoints

    State docs

  • Seamlessly integrate with any Python library

    Never get locked into a framework that doesn't support your existing tech stack

  • Built in database ORM

    Integrate with existing databases with a single line of code. Or use our built in SQLite database

    Database docs

What makes this work on Railway?

  • Custom build plan: nixpacks.toml

    • Runs all the necessary commands to setup, initialize, export, and install Caddy
    • Starts the Reflex backend and Caddy server using parallel to avoid having to run two separate services in the project
  • The Caddy Server/Proxy: Caddyfile

    • Serves the exported frontend Reflex app
    • Proxies all requests to /backend/* through to the Reflex backend server
  • The api_url variable: rxconfig.py

    • Makes sure the frontend build utilizes the correct backend api url

Relevant Caddy documentation:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages