How Can I Connect My Frontend to a Backend for My Banking Program?

0
3
Asked By CodeCrafter99 On

I'm familiar with developing programs in Java and Python, and I can build web pages using HTML, CSS, and JavaScript. However, I'm struggling to figure out how to connect my HTML front end with my backend in Java or Python. I've tried searching videos on YouTube but mostly end up with explanations that focus entirely on either front end or back end. My goal is to create a banking application with features like withdrawing and depositing money. Can anyone give me some pointers?

1 Answer

Answered By DevGuru101 On

You have a few options to connect your frontend with your backend. One popular way is to use Flask, a lightweight web framework for Python. It allows you to serve HTML and handle routes effectively. You'll be able to use a template engine like Jinja2 for dynamic HTML. If your goal is to create a banking app, Flask would help you expose endpoints that are essential for your application.

BankingNerd22 -

So, if I use Flask, does that mean I can’t just write regular Python? I have to set up something special to connect it to HTML?

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.