https://github.com/itsmaheshkariya/flask-react
https://github.com/itsmaheshkariya/flask-react
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/itsmaheshkariya/flask-react
- Owner: itsmaheshkariya
- Created: 2019-12-25T16:07:21.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-25T20:16:34.000Z (over 5 years ago)
- Last Synced: 2025-01-06T01:09:13.162Z (4 months ago)
- Language: Python
- Size: 10.3 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flask React App With Swagger Documentation
### This is python based app based on flask framework as a server side programming and React will be our frontend### Git Clone
``` git clone https://github.com/maheshkareeya/flask-react.git```
### Change Directory
``` cd flask-react```
### Flask is in backend
``` cd backend ```
### Install packages
``` source bin/activate ```
``` pip3 install flask flask-sqlalchemy flask-marshmallow marshmallow-sqlalchemy flask-restplus flask-cors ```
``` export FLASK_APP=app.py ```
``` export FLASK_DEBUG=True```
``` flask run ```go to http://localhost:5000
### In anoher terminal open frontend
``` cd frontend ```
``` npm install ```
``` npm start ```go to http://localhost:3000