Build a JavaScript Front End for a Flask API

Most modern web applications are powered by a REST API under the hood. That way, developers can separate JavaScript front-end code from the back-end logic that a web framework like Flask provides.

Following this step-by-step project, you’ll create an interactive single-page application with HTML, CSS, and JavaScript. The foundation is an existing Flask project with a REST API and a connected SQLite database, which you’ll grab in just a moment.

In this tutorial, you’ll learn how to:

  • Navigate a full-stack web development workflow
  • Structure an HTML file to act as the template for a single-page web application
  • Leverage the Jinja templating engine to render dynamic HTML
  • Use CSS to style the presentation of an application
  • Write JavaScript to add




    To finish reading, please visit source site