r/learnprogramming • u/Noobbobcat355 • 3d 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 .
3
u/RyanLMcc 3d 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.
1
u/Low-Tackle1868 3d 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.
1
u/a-taylor-35 1d ago
Start with a manual tracker: add one company/job, save an application status, and display it back. That proves your Python/SQL flow before job listings or email checks enter the picture; add those features one at a time.
1
u/AdhesivenessFew8441 1d ago
Good plan, and doing it by hand is the best way to really learn. One thing to know before you start: fetching job listings from company sites is the hardest and least reliable part (every site is different, many block scrapers, and some forbid it in their terms). So build the app first with listings you add by hand or from one public jobs API, and leave automatic fetching for the end. An order that works: 1) draw the tables on paper (users, companies, jobs, applications) and how they relate; 2) SQLAlchemy models plus a few scripts that insert and query data, no web yet; 3) a small API with FastAPI or Flask, tested with curl; 4) a simple HTML and JS page that calls that API, which is where you learn JS; 5) only then login, email checking and notifications. Use Git from day one with small commits, and keep a short README with what works and what is next. A small version that works beats a big version that is half done.
1
u/UhLittleLessDum 3d 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.
0
u/LonelyCaterpillar6 3d ago
Good choice of stack for learning — Python + SQLAlchemy + Postgres will teach you real backend skills. A few things that will save you a lot of pain on a first big project: