input: Write a python function to set up a basic Flask application with JWT authentication and create endpoints for getting and posting items.
  assert get_item('item1') == {'item': None}, 404
  assert post_item('item1') == {'name': 'item1', 'price': 12.00}, 201
  assert get_item('item1') == {'name': 'item1', 'price': 12.00}
output: from flask import Flask, request, jsonify
  from flask_jwt_extended import JWTManager, create_access_token, jwt_required
  
  app = Flask(__name__)
  app.config['JWT_SECRET_KEY'] = 'your_jwt_secret_key'
  jwt = JWTManager(app)
  
  items = {}
  
  @app.route('/item/<string:name>', methods=['GET'])
  @jwt_required()
  def get_item(name):
      item = items.get(name)
      if item:
          return jsonify(item), 200
      else:
          return jsonify({'item': None}), 404
  
  @app.route('/item/<string:name>', methods=['POST'])
  @jwt_required()
  def post_item(name):
      data = request.get_json()
      item = {
          'name': name,
          'price': data['price']
      }
      items[name] = item
      return jsonify(item), 201
  
  if __name__ == '__main__':
      app.run(debug=True)