Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ankit1598/react-flask-template

Basic template for React + Flask
https://github.com/ankit1598/react-flask-template

flask reactjs

Last synced: 9 days ago
JSON representation

Basic template for React + Flask

Awesome Lists containing this project

README

        

# Getting Started with Create React App

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Available Scripts

In the project directory, you can run:

### `npm run start`

Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.\
You will also see any lint errors in the console.

### `virtualenv venv`

Create a virtual environment

### `venv\Scripts\activate`

Activate the virtualenv

### `pip install flask python-dotenv`

Then install flask and python-dotenv using

### `npm run start-api`

Runs Flask

### `npm run build`

Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!