Skip to content
Discussion options

You must be logged in to vote

Hi @tslxxcxy
The MVC project template is ideal when you want to build web applications that can serve both dynamic HTML pages and APIs. It provides a folder structure ready for controllers, views (using Jinja templates by default, and allowing alternative solutions), and serving static files, making it easier to implement server-side rendered websites.

In contrast, the API project template is streamlined for building RESTful APIs only, without view rendering or UI scaffolding. Use it when your application is purely backend and will be consumed by clients like SPAs, mobile apps, or other services.

Choose MVC when:

  • You need to render HTML views on the server.
  • You want to handle user intera…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tslxxcxy
Comment options

Answer selected by RobertoPrevato
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #593 on September 21, 2025 07:55.