Skip to main content

Fully typed Flask and React applications

Project description

💫 React Flask (RF)

Fully typed Flask and React applications

maze

Welcome to RF, a strongly-linked Flask and React application template.

RF combines a Flask server, with a React TypeScript UI into a comprehensive full-stack framework for building modern web applications.

RF features a sophisticated types manager that automatically synchronizes Python Type hints and TypeScript interfaces. This means that as you make changes to your API code in the server, RF diligently keeps the API Client up to date.

Built on popular tools

We use cutting edge Python tools including:

And our TypeScript is modern too:

Both TypeScript and Python hold their positions as two of the most widely used programming languages globally. As a result, they are frequently combined in various projects.

However, setting up a smooth and efficient development environment that integrates these languages can be a cumbersome and time-consuming process, often leading to a subpar developer experience. Thankfully, RF steps in to solve this challenge by through it's sophisticated types manager.

Type-safe productivity boost

RF provides:

  • A types manager which keeps the API interface type-safe.
  • React: A collection of type-safe API hooks for querying the HTTP API.
  • React: No single page app, so bundled JS for the client loads faster.
  • Flask: A manager for generating new React pages without any manual effort.
  • Flask: View-based routing to reduce the bundle size of JS on page loads.

Currently in development

Before this becomes a fully fledged package, it exists as a decent template that can be forked when you start a new project and worked on from there.

Set up

Fork the code, then run the build and dev command to get started:

git clone git@github.com:beckett-software/react-flask.git
cd react-flask
make build
make dev

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

react_flask-0.1.0.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

react_flask-0.1.0-py3-none-any.whl (26.7 kB view details)

Uploaded Python 3

File details

Details for the file react_flask-0.1.0.tar.gz.

File metadata

  • Download URL: react_flask-0.1.0.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.8.10 Linux/5.15.0-76-generic

File hashes

Hashes for react_flask-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dbcc2e40303c88387a887eed577a90c02129c06375c325670bd51138c7fbd7c7
MD5 aaf8331a7e26bc4ed7b39c28a69f72b8
BLAKE2b-256 3a8b0bb5536f43454bdf57b6a08f4882d79270e4c5d0c375bd3d0ba50b70f97a

See more details on using hashes here.

File details

Details for the file react_flask-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: react_flask-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 26.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.8.10 Linux/5.15.0-76-generic

File hashes

Hashes for react_flask-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f3e022f0014b8f41a56a48285a9cbcbf9a4db06c9f492fb68ff2452880c640f
MD5 4540b881aa04c950e52c9ea7294029b5
BLAKE2b-256 09f1868c839fcd222d45e3487ca0dd0cb21fbf5ee61da92d34db23e8460b4948

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page