邓淳远、崔鹏宇、翁思扬组云计算期末项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
466 B

  1. from flask import request, Flask, jsonify
  2. import json
  3. from flask_sqlalchemy import SQLAlchemy
  4. from APP.view import collection, block
  5. from APP.view.auth import bp_auth
  6. from APP.view.block import bp_block
  7. from APP.view.collection import bp_collection
  8. from APP.view.database import init_db
  9. app = Flask(__name__)
  10. app = Flask(__name__)
  11. app.register_blueprint(bp_auth)
  12. app.register_blueprint(bp_block)
  13. app.register_blueprint(bp_collection)
  14. init_db()
  15. app.run(debug=True)