jalantechnologies / rflask-boilerplate

Boilerplate code for building projects using Python, Flask and React
0 stars 4 forks source link
boilerplate flask python react typescript

Boilerplate - FRM

Boilerplate project for Flask, React & MongoDB based projects. This README documents the steps necessary to get your application up and running.

Table of Contents

Getting Started

Quickstart:

Bonus:

Pre Requirements:

Scripts:

Configuration

In the src/apps/backend/settings/ directory:

We are keeping config as a schema environment specific.

Example:

Based on the environment which will be passed during spawning the server as an argument with APP_ENV=<environment_name>, this will further load the schema accordingly.

Note:

.env File

Application also supports loading environment variables from .env file. Just add the file to src/apps/backend and it should be picked up by the server.

UI Config:

In case of need of config values at client-side, this will make an internal request to the backend server to get the desired config schema in the form of JSON.

Scripts

This application also supports running one off scripts. Helpful during development or running cron jobs.

Steps:

Deployment

This project deploys on Kubernetes via GitHub actions using workflows defined in GitHub CI.