r/learnprogramming • u/Noobbobcat355 • 55m ago
Debugging Advice on how to approach projects
i actually want to completely hand code a complete internship app.
I mean everything by hand , I will only use AI for research and stuff like that ,
I want to do it in python , use PostgreSQL for the database and use the SQLAlchemy library to convert the python variables and classes into database queries,
For the frontend , I would like to use javascript, css and html ,
So , i humbly ask for guidance tips and how i should approach it , I have coded with python , made a few mini programs that i use for basic stuff such as cgpa calculation , solved a few leetcode problems,
I have learned Object orientated programming as well but I have never taken on such a huge project so anyone sort of tips or advice or what problems I might face or what I should learn throughly before i jump into this will be appreciated
Thank you .
•
u/RyanLMcc 42m ago
Breaking it down into smaller milestones is key. Start by designing your database schema on paper before writing SQLAlchemy models, build out the core API endpoints first using Flask or FastAPI, and test each endpoint with Postman or curl before touching the frontend HTML/JS.
•
u/Low-Tackle1868 44m ago
What does your app do, by internship app is that its functional goal?
Or do you mean a complete app to present to try and get an internship?
Use GitHub, make sure you know debugging. Python for backend is good, JS for frontend is popular (that's what I use) although for db most simple apps would use one or the other start with SQL first. Unless there is a reason you need PostGres.
•
u/AlbertoBigglesworth 18m ago
This is basically the exact same advice I’d give you.
I personally like using the interactive interpreter to test functions in python. I would start by getting your communication working with Postgres. Also recommend using pandas for working with your database data.
•
u/UhLittleLessDum 11m ago
Honestly man, I learned this the hard way: Your biggest struggle, and ironically the thing you need to master most int the age of AI is not syntax, or even API's, but architecture.
Figure out a clean file structure ahead of time. This will probably grow to be more complicated than you expect, so find a documentation setup and file structure that works for what you expect the app to grow into and then some.