input: Write a function to create a task management application with a Python backend using Flask and a React frontend that allows a user to create and display a list of tasks. The function should initialize a Flask server, define a model for tasks using SQLAlchemy, and create an API endpoint for task creation. Additionally, it should set up a React component to fetch and display the list of tasks. If the application is successfully set up, return True; otherwise, return False.
  
  assert create_task_app() == True
output: def create_task_app():
      from flask import Flask, request, jsonify
      from flask_sqlalchemy import SQLAlchemy
      import os
  
      app = Flask(__name__)
      app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///tasks.db'
      db = SQLAlchemy(app)
  
      class Task(db.Model):
          id = db.Column(db.Integer, primary_key=True)
          title = db.Column(db.String(80), nullable=False)
  
      db.create_all()
  
      @app.route('/tasks', methods=['POST'])
      def create_task():
          data = request.json
          new_task = Task(title=data['title'])
          db.session.add(new_task)
          db.session.commit()
          return jsonify({'id': new_task.id, 'title': new_task.title}), 201
  
      @app.route('/tasks', methods=['GET'])
      def get_tasks():
          tasks = Task.query.all()
          return jsonify([{'id': task.id, 'title': task.title} for task in tasks])
  
      if __name__ == '__main__':
          app.run(debug=True)
  
      return True