I have a project that is made in flask (python). I want to be able to easily separate the frontend from the backend, into multiple git repos. I've tried making 2 repos in the same folder, but that's a pain to do and needs a lot of configuration. My current directory has
- static
- storage
- templates
- other files such as
app.py
and.env
I want to sort them like this:
Frontend Repo | Backend Repo |
---|---|
static | storage |
templates | other files |
I would be fine with changing some configuration inside the flask app that changed where it looks for the template/static folders, but I'm stuck on how to implement that.