-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
project_root/.git/docs/index.html #1
Comments
I need to understand how I can create an good project root in one Data . |
|
this repository Interface we must repair ! (PS: please help us if you can!)
<title>RFOF Network DApp</title>Willkommen zur RFOF Network DApp
project-root/
├── .git/
├── docs/
│ ├── index.html
│ ├── style.css
│ ├── script.js
├── contracts/
│ ├── bbc/
│ │ └── BBC_Token_Code.py.fc
│ ├── tokens/
│ │ ├── TBC.sol
│ │ ├── TBTC.sol
│ │ ├── NEC.sol
│ │ └── BBCHO.sol
├── api/
│ ├── main.py
│ └── handlers/
│ ├── transaction_handler.py
│ ├── token_handler.py
│ └── user_handler.py
├── RFOFNetworkAPI/
│ ├── @RFOF-NETWORK.py
├── frontend/
│ ├── index.html
│ ├── app.js
│ └── style.css
├── utils/
│ ├── blockchain_utils.py
│ ├── encryption.py
│ └── validation.py
├── config/
│ └── config.yaml
├── .devcontainer/
│ └── devcontainer.json
├── .gitignore
├── README.md
├── LICENSE
from flask import Flask from handlers.transaction_handler import transaction_blueprint from handlers.token_handler import token_blueprint from handlers.user_handler import user_blueprint
app = Flask(name)
app.register_blueprint(transaction_blueprint)
app.register_blueprint(token_blueprint)
app.register_blueprint(user_blueprint)
if name == 'main':
app.run(host='0.0.0.0', port=5000)
from flask import Blueprint, jsonify, request
transaction_blueprint = Blueprint('transaction', name)
@transaction_blueprint.route('/transactions/new', methods=['POST'])
def new_transaction():
values = request.get_json()
required = ['sender', 'recipient', 'amount']
if not all(k in values for k in required):
return 'Fehlende Werte', 400
from flask import Blueprint, jsonify
token_blueprint = Blueprint('token', name)
@token_blueprint.route('/tokens', methods=['GET'])
def get_tokens():
response = {'message': 'Tokeninformationen hier'}
return jsonify(response), 200
from flask import Blueprint, jsonify
user_blueprint = Blueprint('user', name)
@user_blueprint.route('/users', methods=['GET'])
def get_users():
response = {'message': 'Benutzerinformationen hier'}
return jsonify(response), 200
<title>RFOF DApp</title>
<script src="script.js"></script>
Willkommen zur RFOF DApp!
The text was updated successfully, but these errors were encountered: