Which companies combine Flask backend with React frontend?

I’m thinking about building an MVP for my startup idea. I’m considering using Flask for the backend and React for the frontend. Does anyone know if this combo is good enough for a basic product? I’m curious about:

  1. Are there any successful startups using this tech stack?
  2. How well does Flask perform compared to other backend options?
  3. When should I think about upgrading from Flask?

I’ll add a database and other necessary tech as I go along. Just want to make sure I’m on the right track before I dive in. Any insights from folks who’ve used this setup would be super helpful!

Here’s a simple example of what I’m thinking:

from flask import Flask, jsonify

app = Flask(__name__)

@app.route('/api/data')
def get_data():
    return jsonify({'message': 'Hello from Flask!'})

if __name__ == '__main__':
    app.run(debug=True)

Does this look like a good starting point? Thanks in advance for any advice!

Flask and React indeed make a solid combination for MVPs. I’ve personally used this stack for several projects and can attest to its effectiveness. Flask’s simplicity allows for rapid development, while React provides a robust frontend experience. However, as your application grows, you might encounter limitations with Flask’s built-in server.

For scalability, consider using WSGI servers like Gunicorn or uWSGI in production. Also, look into Flask extensions like Flask-RESTful or Flask-CORS to enhance your API capabilities. Your code snippet is a good starting point, but you’ll want to implement proper error handling and authentication mechanisms as you progress.

When you start handling complex database operations or require more advanced features like asynchronous processing, that’s when you might consider transitioning to frameworks like Django or FastAPI. But for now, Flask should serve your MVP needs well.

hey, flask + react is a neat combo for mvp’s! startup/s who r using this stack arent few. flask works great initially, but watch out for scalability. your code snippet looks okay. have u considered different flask extensions? what’s ur next planned feature?

flask+react is solid for startups. i’ve used it, works great. flask is simple but can handle basics well. upgrade when u need more complex stuff or hit performance issues. ur code looks fine to start. maybe add some error handling? good luck with ur project!