Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ankit1598/react-flask-template
- Owner: Ankit1598
- Created: 2021-03-11T06:45:56.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-12-19T07:03:27.000Z (10 days ago)
- Last Synced: 2024-12-19T08:20:17.131Z (10 days ago)
- Topics: flask, reactjs
- Language: JavaScript
- Homepage:
- Size: 8.84 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 37
-
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!