Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Usa esta guía para aprender los conceptos básicos sobre el desarrollo y la implementación de los servicios web de Python en el entorno estándar de App Engine.
En esta guía, vas a iterar a través de la compilación y la implementación de versiones de un servicio web; para ello, vas a comenzar con una página estática y aprenderás a compilar una página web personalizada que muestra a los usuarios autenticados su nombre, su correo electrónico y los tiempos para completar las solicitudes de sitios recientes.
Aprende a escribir y a probar de forma local un servicio web básico, y luego define los archivos de configuración que necesitas para implementar ese servicio web en App Engine.
Aprende a usar Firebase Authentication para verificar las credenciales de los usuarios, entregar información del usuario y permitir el acceso a los datos.
Aprende a limpiar tu proyecto y evitar la posibilidad de que se generen cargos por los recursos que no estás utilizando.
En esta guía, se presume que estás familiarizado con Python, el framework de Flask y el desarrollo web básico.
Costos
La ejecución de esta app de muestra por sí sola no supera las cuotas gratuitas. Solo se te cobrará si superas esas cuotas, por ejemplo, si ejecutas otras muestras y agregas otros servicios al mismo proyecto de Google Cloud .
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-08-19 (UTC)"],[[["\u003cp\u003eThis guide demonstrates how to develop and deploy Python web services to the App Engine standard environment, starting with a basic static page and progressing to a personalized web page for authenticated users.\u003c/p\u003e\n"],["\u003cp\u003eThe process includes creating a Google Cloud project, writing and deploying the web service, handling data with Firestore in Datastore mode, and adding Firebase authentication for users.\u003c/p\u003e\n"],["\u003cp\u003eUsers will learn how to use Firebase to verify user credentials, serve user information, personalize data storage and retrieval, and allow data access.\u003c/p\u003e\n"],["\u003cp\u003eThe guide also includes instructions on cleaning up the project to avoid incurring charges for unused resources.\u003c/p\u003e\n"],["\u003cp\u003eCloud Run is recommended for deploying new python web services on Google Cloud.\u003c/p\u003e\n"]]],[],null,["# Build a Python app on App Engine\n\n\u003cbr /\u003e\n\n| **Note:** If you are deploying a new Python web service to Google Cloud, we recommend getting started with [Cloud Run](/run/docs/quickstarts/build-and-deploy/deploy-python-service).\n\nUse this guide to learn the basics of developing and deploying Python\nweb services to the [App Engine standard environment](/appengine/docs/standard).\n\nIn this guide, you iterate through building and deploying versions of a web\nservice, starting from a static page and building up to a personalized web\npage that shows authenticated users their name, their email, and their recent\nsite request times.\n\nThe following tasks demonstrate the basic developer flow for creating\nthat web service using [Firestore in Datastore mode (Datastore)](/datastore/docs/concepts/overview) data\nstorage and [Firebase authentication](https://firebase.google.com/docs/auth/):\n\n1. **[Create your Google Cloud project](/appengine/docs/standard/python3/building-app/creating-gcp-project)**\n\n Learn how to create a Google Cloud project and then set up the\n App Engine resources for your web service.\n2. **[Write your web service](/appengine/docs/standard/python3/building-app/writing-web-service)**\n\n Learn how to write and locally test a basic web service, and then define\n the configuration files that you need for deploying that web service to\n App Engine.\n3. **[Deploy your web service to App Engine](/appengine/docs/standard/python3/building-app/deploying-web-service)**\n\n Learn how to deploy your Python code and then view your web\n service running on App Engine.\n4. **[Handle Data](/appengine/docs/standard/python3/building-app/storing-and-retrieving-data)**\n\n Learn how to use Datastore to store and retrieve data about\n site requests.\n5. **[Add Firebase to your web service](/appengine/docs/standard/python3/building-app/adding-firebase)**\n\n Learn how to add\n [Firebase](https://support.google.com/firebase/answer/6399760) to your\n Google Cloud project and web service.\n6. **[Authenticate users with Firebase](/appengine/docs/standard/python3/building-app/authenticating-users)**\n\n Learn how to use Firebase Authentication to verify user credentials, serve\n user information, and allow data access.\n7. **[Personalize data for authenticated users](/appengine/docs/standard/python3/building-app/personalizing-data-for-authenticated-users)**\n\n Learn how to use authentication to personalize data storage and retrieval\n for authenticated users.\n8. **[Clean up](/appengine/docs/standard/python3/building-app/cleaning-up)**\n\n Learn how to clean up your project and avoid the possibility of incurring\n charges for resources you aren't using.\n\nThis guide assumes that you are already familiar with\n[Python](/appengine/docs/standard/python3/runtime), the\n[Flask framework](http://flask.pocoo.org/), and basic web\ndevelopment.\n\nCosts\n-----\n\nRunning this sample app alone does not exceed the\n[free quotas](/appengine/docs/standard/quotas). You will be charged only if you exceed those\nquotas, for example, by running other samples and adding other services to the\nsame Google Cloud project.\n\nLet's get started!\n------------------\n\n[Create your Google Cloud project and set up the App Engine\nresources](/appengine/docs/standard/python3/building-app/creating-gcp-project)."]]