Skip to content

ghost717/py-flask-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flask-API

This is a simple python API server using Flask, Vue JS and MySQL.

Install

Clone repo

git clone https://github.com/ghost717/flask-API.git flask-API

Install server

python -m venv env

#win
env\Scripts\activate 

#mac
source env/bin/activate 

pip install flask flask-cors flask-mysqldb flask-bcrypt flask-jwt-extended flask_login

Install client

npm install -g @vue/cli@3.7.0

vue create client

Run

Run serwer

python app.py

Run client

npm run serve

Deployment client in Firebase

  • firebase config
firebase init
  • build
npm run build
  • deploy in firebase
firebase deploy --only hosting

Source

Wheel for MySQLdb

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published