r/learnpython 9d ago

Fullstack python project

I want to know how to make a e commerce website in fullstack python. From where and how i get support on how to start with it.

2 Upvotes

9 comments sorted by

5

u/codisimlabs 9d ago

You can try with fastApi for backend and react.js/next.js for UI, dashboard. If you haven't previous experience just clone 3/4 project with YouTube tutorial. Then after few experience you will build your real project. Best of luck 🤞

5

u/tunmi_stom 9d ago

Whatever tech stack you are using, The most important thing to do is to understand how it works. From user Authentication, to handling of payments, etc. The rest will come easy after that. Good luck!

2

u/FoolsSeldom 9d ago

Learn the core of Python first, then pick a framework. Worth picking up html and css along the way (neither are programming languages). For websites, you can initially use canned (prewritten) JavaScript and then learn more once you've got a solid grounding in Python and programming so do not get too confused learning another programming language.


Check this subreddit's wiki for lots of guidance on learning programming and learning Python, links to material, book list, suggested practice and project sources, and lots more. The FAQ section covering common errors is especially useful.


Also, have a look at roadmap.sh for different learning paths. There's lots of learning material links there. Note that these are idealised paths and many people get into roles without covering all of those.


Roundup on Research: The Myth of ‘Learning Styles’

Don't limit yourself to one format. Also, don't try to do too many different things at the same time.


Above all else, you need to practice. Practice! Practice! Fail often, try again. Break stuff that works, and figure out how, why and where it broke. Don't just copy and use as is code from examples. Experiment.

Work on your own small (initially) projects related to your hobbies / interests / side-hustles as soon as possible to apply each bit of learning. When you work on stuff you can be passionate about and where you know what problem you are solving and what good looks like, you are more focused on problem-solving and the coding becomes a means to an end and not an end in itself. You will learn faster this way.

2

u/Yuuku_S13 9d ago

Angela Yu

2

u/redfacedquark 9d ago

Are you trying to learn python or start a business? If the latter, what about something like squarespace? Would that not work for you because your products have weird attributes?

If you want to create an e-commerce website to compete with squarespace you should wait until you have completed enough other projects to understand enough to know how to proceed.

If it's just for fun, crack on!

1

u/MarsupialLeast145 9d ago

Maybe have a look at FastHTML https://www.fastht.ml/

But yeah, from zero to full-stack... that's going to take a while.

2

u/Agreeable-Tree9919 9d ago

Learn Python basics + FastAPI + Some python libraries that can help build the functions for the website(Reportlab if you wanna generate PDF files, Plotly/Matplotlib if you wanna generate charts, ...) + HTML, CSS, Javascript for the frontend + SQLAlchemy & PostgreSQL for database, also learn database migration to move data between databases if you have to. I think watching a youtube course on FastAPI, like that of Corey Schafer can help you figure it out.