Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/achronus/web-app-template

A set of template files for Supabase, Poetry, ReactPy, and Flask web applications.
https://github.com/achronus/web-app-template

flask poetry-python python reactpy supabase-python templates

Last synced: 15 days ago
JSON representation

A set of template files for Supabase, Poetry, ReactPy, and Flask web applications.

Awesome Lists containing this project

README

        

# Web Application Template Files

This repository is dedicated to providing a set of template files for quickly setting up a basic web application with the following Python libraries:
- [Poetry](https://python-poetry.org/)
- [ReactPy](https://github.com/reactive-python/reactpy) | [Docs](https://reactpy.dev/docs/index.html)
- [Supabase](https://supabase.com/) | [Docs](https://supabase.com/docs/reference/python/introduction)

## Getting Started
Simply, duplicate the branch, rename the directory, navigate to it, and amend the following files in the code editor of choice:

- `docker-compose.yaml` - change the `container_name`
- `Dockerfile` - the Python version in the `builder`
- `pyproject.toml` - the `name`, `description`, `version`, and `authors`
- `.env` - update the variable values

Once done, run the following commands in the main directory:
```cmd
# Creates poetry.lock file
poetry install

# Creates the docker image and runs the container
docker-compose up --build
```