GithubHelp home page GithubHelp logo

makeflaskreact's Introduction

Make Flask React App Command Line Tool (makeflaskreact)

app-logo

This app makes it easier for your to build a react flask application.

Flask does not directly work with React in development as it needs cors to handle the cross-origin error on your local react app. So, this boiler plate reduces the time spent creating a simple react and flask app.

Installation

You can install the Make Flask React App Command Line Tool from PyPI:

pip install makeflaskreact

Requirements are yarn or npm and python>=3.6.0

To run:

makeflaskreact

optionally: add --name PROJECT_NAME to change the project name from app to what you want.

add --norun or N to run the server and client on exceution of the script

demo-1

demo-2

Parameters

Input Defaults
name (--name/-A) app
run (--run/-r) (--no-run/-N) True -- will run if --no-run is not present
server name server
python (used to create virtual env and download requirments) python
host 127.0.0.1
port 5000
react client no default will ask for either yarn (0.25+) or npm (5.2+)
client client

Final Output

Assuming standard run makeflaskreact

Will create a folder with your app, client, and server.

output

makeflaskreact's People

Contributors

greysonevins avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.