https://github.com/ankit1598/react-flask-template
Basic template for React + Flask
https://github.com/ankit1598/react-flask-template
flask reactjs
Last synced: 12 months ago
JSON representation
Basic template for React + Flask
- Host: GitHub
- URL: https://github.com/ankit1598/react-flask-template
- Owner: Ankit1598
- Created: 2021-03-11T06:45:56.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-05-08T07:58:07.000Z (about 1 year ago)
- Last Synced: 2025-06-10T07:43:46.911Z (about 1 year ago)
- Topics: flask, reactjs
- Language: JavaScript
- Homepage:
- Size: 10.5 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 42
-
Metadata Files:
- Readme: README.md
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!