https://github.com/yjg30737/react-flask-tutorial
For learning React & Flask
https://github.com/yjg30737/react-flask-tutorial
flask react react-flask
Last synced: 3 months ago
JSON representation
For learning React & Flask
- Host: GitHub
- URL: https://github.com/yjg30737/react-flask-tutorial
- Owner: yjg30737
- License: mit
- Created: 2022-12-11T02:32:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-07T08:53:36.000Z (over 2 years ago)
- Last Synced: 2024-12-29T08:42:10.824Z (5 months ago)
- Topics: flask, react, react-flask
- Language: JavaScript
- Homepage:
- Size: 919 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-flask-tutorial
For learning React & FlaskFrontend is based on create-react-app.
Frontend address - http://localhost:3000
Backend address - http://localhost:5000
## How to Install
1. Backend
```
cd backend
python -m pip install flask flask-cors
```2. Frontend
```
cd frontend
yarn add package.json
```## How to start
1. Backend
```
python a.py
```2. Frontend
```
npm start
```3. If you want to use Tailwind
First you need to change the content of tailwind.config.js's content such as
```
content: [
'./src/**/*.{html, js}',
],
```Then type below
```
npm run build:css
```## Note
This includes the bootstrap and tailwind css. I'm currently using bootstrap directly to the footer.