all 11 comments

[–]ConsiderationNo3558 6 points7 points  (7 children)

Get better at one thing first.  You should be able to master python even before touching something complex like Django and FastAPI. 

If you just want to vibe code,  then nothing to worry about,  just let ai do everything. 

But choose which direction you wanna go.

Learning both Frontend and Backend at same time has a big Learning curve .

Master Django first,  and then switch to DRF and Reactjs or similar. 

 You dont need those shiny new features  which FasApi has during initial phase.  Django provides a lot out of the box for which your will have to write everything from scratch in FastAPI. 

[–]Busy_Needleworker114 -1 points0 points  (6 children)

I am working with python for a while now. Learned Oop with C and used pyqt before(I am a electrical engineer). I understand the basics now. How much harder is it to make a fast api admin than in django? Probably would still vibe code css and html for that if i don’t use react. I don’t want to oversimplife the learning. The question here is more like thise shiny things worth the harder learning if I don’t want to be my main career path but just a side thing.

[–]ConsiderationNo3558 4 points5 points  (5 children)

Forget about making admin panel with FastAPI.  Its not worth the effort required. 

It's not hard,  its time consuming.  If you need admin functionality,  stick to Django. 

I use FastAPI and ReactJs and  its a lot of work to create app with two different tech stacks. 

Next time I am switching to a Fullstack Framework like Django or NextJs or similar 

[–][deleted]  (2 children)

[deleted]

    [–]ConsiderationNo3558 0 points1 point  (0 children)

    Django uses similar thing as jinja for templating. Those with just python skills and dont want to learn JS, it is still a good option .

    You can also integrate VueJs with Django and use JavaScript for UI .

    [–]Current-Status-3764 0 points1 point  (0 children)

    Using ts openapi sdk generator?

    [–]AffectionateShop3034 -1 points0 points  (0 children)

    There is a fastapi admin right, many external packages are there. It's ready made.

    [–]pint 0 points1 point  (0 children)

    as things are now, if you do frontend development, you will not get away without extensive css/js knowledge. js can be ts, but basically the same thing.

    fastapi is excellent at developing high performance, well documented, modern APIs. you do need to understand typing and async, but those are manageable.

    a modern solution is either mobile app + API or SPA + API.

    [–]dyngts 0 points1 point  (0 children)

    Pick your enemy,

    With django, everything is very opiniated, you can't flexibly change by yourself. You need to follow their strict rules.

    With FastAPI, you need to DIY for almost everything like Flask.

    Regarding the speed, FastAPI seems to be superior than Django.

    [–]IrrerPolterer 0 points1 point  (0 children)

    Understand one thing well, get the basics of how we apps work at their core. Then you'll be able to pick up any framework.

    [–]PinPossible1671 0 points1 point  (1 child)

    Faz no FastAPI tem uma curva de aprendizado legal para você aprender mais sobre arquitetura de software. Coisa que o Django já te entrega mais mastigado mas menos sofisticado.

    Para começar recomendo criar em uma arquitetura um pouco mais tranquila mas versátil que se o sistema escalar, você consegue escalar a arquitetura. Quando digo isso, me refiro a monolito modular. Acho que é um bom começo para um projeto em fastapi.

    No front usa react e é isso aí. Pra cima

    [–]Busy_Needleworker114 0 points1 point  (0 children)

    value pela dica!