{"id":23137016,"url":"https://github.com/shayanriyaz/flask-react-boiler-plate","last_synced_at":"2025-04-04T09:25:32.876Z","repository":{"id":102580781,"uuid":"316817754","full_name":"ShayanRiyaz/flask-react-boiler-plate","owner":"ShayanRiyaz","description":"A collection of shell files to make a flask/react boiler plate","archived":false,"fork":false,"pushed_at":"2020-11-29T05:30:10.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T19:57:13.311Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ShayanRiyaz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-28T20:37:59.000Z","updated_at":"2020-11-29T05:30:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"7be61423-9afd-4e4c-b3ba-108806b60f41","html_url":"https://github.com/ShayanRiyaz/flask-react-boiler-plate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShayanRiyaz%2Fflask-react-boiler-plate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShayanRiyaz%2Fflask-react-boiler-plate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShayanRiyaz%2Fflask-react-boiler-plate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShayanRiyaz%2Fflask-react-boiler-plate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ShayanRiyaz","download_url":"https://codeload.github.com/ShayanRiyaz/flask-react-boiler-plate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247150751,"owners_count":20892196,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-17T12:26:33.750Z","updated_at":"2025-04-04T09:25:27.867Z","avatar_url":"https://github.com/ShayanRiyaz.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flask-react-boiler-plate\nA collection of shell files to make a flask/react boiler plate\n\n\n## Steps\n\n### 1. ```init.sh``` for basic flask-react boiler plate\n\nYou can simply run this file by running this following command in your terminal from the root directory:\n- `. init.sh`\n- When prompted to eject enter `y`.\n- run `. run.sh` to run the backend\n- Navigate to `localhost:5000`\n\nThe shell script sets up a base React and Flask application.\n**Note**: In order for the script to run without an error make sure you have atleast the following version.\n| Programs | Versions| Command to check | Command to upgrade | \n|---------|-|-|-|\n|\u003cimg src=\"https://img.shields.io/badge/nodejs%20-%23323330.svg?\u0026style=for-the-badge\u0026logo=nodejs\u0026logoColor=green\"/\u003e | `v15.2.1`|`node --version`| `nvm install [version.number]`|\n|\u003cimg src=\"https://img.shields.io/badge/yarn%20-%2314354C.svg?\u0026style=for-the-badge\u0026logo=yarn\u0026logoColor=blue\"/\u003e| `1.22.10` | `yarn --version` | `yarn upgrade --latest`|\n|\u003cimg src=\"https://img.shields.io/badge/python%20-%2314354C.svg?\u0026style=for-the-badge\u0026logo=python\u0026logoColor=blue\"/\u003e| `3.8.6` |`python --version`| \n|\u003cimg src=\"https://img.shields.io/badge/pip%20-%2314354C.svg?\u0026style=for-the-badge\u0026logo=pip\u0026logoColor=blue\"/\u003e| `20.2.3`|`pip --version` | `pip install --upgrade pip` |\n\n*The commands above are primarily for **Linux** users. I haven't set up CI Tests yet for versions before these, so not sure if it'll work with those setups or not.*\n\n2. To add a css framework for the `ReactJS` frontend run:\n\n```shell\n. add_react_css_framework.sh -a bootstrap \n```\nor\n\n```shell\n. add_react_css_framework.sh --add bootstrap \n```\nCurrently bootstrap is the only one available in the script.\n\n3. To add a Database to our backend run:\n```shell\n. add_database.sh NoSQL \n``` \nfor MongoEngine\nor\n\n```shell\n. add_database.sh MySQL \n```\nfor MySQL Alchemy. This file will set up a basic user model and necessary mongodb configurations\n\n\n4. Alternatively, you can run `. run_all.sh` to run all 4 scripts in a go.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshayanriyaz%2Fflask-react-boiler-plate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshayanriyaz%2Fflask-react-boiler-plate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshayanriyaz%2Fflask-react-boiler-plate/lists"}