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

https://github.com/itsmaheshkariya/flask-react


https://github.com/itsmaheshkariya/flask-react

Last synced: about 2 months ago
JSON representation

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