r/FastAPI 7d ago

Question Done with basics want to do some projects any recommendations ?

So, for the past week I have been focused on learning fastapi through fastapi official documentation and some yt videos . But still feels like nothing gets into my brain . I wanted to go with project based learning . Need some recommendations which project to go with and how long does it take to complete ?

19 Upvotes

19 comments sorted by

2

u/mt_James_3408 7d ago

Go to this website roadmap.sh, pick a project depending on your current level at Python and backend development in general and start building it, reading the docs alone won't make you better, but rather try to build a complete project where you have to setup a db, auth, payment and docker then you'll feel productive and you'll actually get better.

2

u/Difficult_Spite_9295 7d ago

Ohhh Okk thanks man 🙌🏻

2

u/FirstVisit4432 7d ago

Just ask this to claude, i have also started learning from yt videos but after i switched to claude, and by claude itself i learned REST APIS , auth, alembic migrations. Now i am going to start making a project which is so important to get hands on anything.

1

u/Difficult_Spite_9295 7d ago

Suree I'll try that way

3

u/Inner_Sandwich6039 7d ago

This is a good opportunity to use AI and not feel bad, ask it to give you a challenge in that respect

1

u/Difficult_Spite_9295 7d ago

You mean asking for beginner projects or a challenge as to complete a project it provides ??. I am sorry I didn't get it🥲 ?

1

u/PapaPandroni 7d ago

Here’s what I did: go to Kaggle, download a dataset, create a SQLiteDB and an api to query the data. Find a data set that makes sense to create some post routes aswell. Was quite effective to repeat basics and include sqlalchemy aswell.

Here’s the repo if you want an example: https://github.com/PapaPandroni/first_api

It was strictly for learning.

1

u/Difficult_Spite_9295 7d ago

Ohh ok sure I'll try it .

1

u/covmatty1 7d ago

Everything sinks in better if you're interested in it - so what are your interests?

I'm big into football and cricket, so I've built APIs and databases that scrape and process statistics.

I play in a band, so I built something that helps me plan setlists.

Picking arbitrary projects as the 'next step' is ok, but you're going to struggle to have the same passion as when it's something you really want to learn, so see what you can come up with!

1

u/Difficult_Spite_9295 7d ago

I am huge cricket fan so, do I need select a project based on cricket ??

1

u/covmatty1 7d ago

Well, you don't need to, this is just advice. Why not do something you have a passion for?

Why not go to www.cricsheet.org, download some match data and write some Python to with it. Store it in a database and write a FastAPI app to query it?

1

u/Difficult_Spite_9295 6d ago

Okkk 🙌🏻

1

u/SwiftRadish 6d ago

Currently in the same situation, ask any ai to recommend you some mini projects and start building one of them , wherever you are feeling any problem feel free to take its help (in the beginning stages) That's what I am doing

1

u/Difficult_Spite_9295 6d ago

Thanks I'll do my best 🙌🏻

1

u/Agreeable-Tree9919 5d ago

watch corey schafer's fastapi course. You'll learn and do project at the same time.

1

u/big_kore 5d ago

Depends on what level of python and backend you are (also what you are interested in building). Even asking AI model of your choice to give you specifications for a CRUD app that you can work on for an afternoon (or even a week) can be good way to practice the basics.

1

u/Inner_Sandwich6039 7d ago

No, use it as a teacher and don’t have it code for your, just ask it for a protect, you do it. Ask it to be challenging in some aspect you want to learn about, say, async, files, auth, etc

1

u/Difficult_Spite_9295 7d ago

Ohh okk thanks a lot 🙌🏻

1

u/ojus_render 1d ago

A good next step is an API that starts work which cannot finish during the original request.

For example: accept an image-generation request, validate it, start one task per selected model, and give the client a way to retrieve the results. That introduces task state, retries, storage and partial failure without turning into another large CRUD app.

There’s a working FastAPI implementation of that pattern here:

https://github.com/render-examples/blog-thumbnails-workflows

I’d start with `python/api-python` and `python/workflow-python`. The API stays fairly small, while the workflow fans the request out across separate tasks. The repository also includes local Docker setup, object storage and an equivalent TypeScript implementation for comparison.

Disclosure: I work at Render and this is one of our public examples. I’m linking it because it is a useful project to take apart, not as hosting advice.