Inspiration

To try out the AI generation feature of Defang using the CLI.

What it does

A simple calculator app that takes a mathematical expression and displays the result of the calculation on the same page.

How we built it

After installing the Defang CLI, I ran the defang generate command to generate a Python project using the AI generate option. The main, Dockerfile and compose files were checked for correctness.

Challenges we ran into

Not very challenging, the defang CLI was very simple to use.

What we learned

Learned about Defang CLI, portal, generate functions and deploy apps to AWS using the 1 click button or using a few commands in the CLI.

What's next for Defang Calculator app

Add a keyboard to the calculator app and add shortcut to calculator result history to perform more complex operations.

Share this project:

Updates

Submission history