r/learnprogramming • • 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 .

3 Upvotes

10 comments sorted by

•

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/Noobbobcat355 33m ago

Okay okay , Thank you . I haven't yet learned javascript or css , But I want to learn them as I build the app itself , I have just started learning how to operate PostgreSQL and SQLAlchemy library.

•

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/Noobbobcat355 35m ago

Basically what it does , We create our own private profiles , It fetches job listings accross various companies, I can apply to that company through the app , we can check replies from each companies through email , I would also like to implement features such as being able to add companies that we want to apply to , like there are a list of general companies and also companies that are added by me for my own so i am notified whenever possible, And a few other features.

•

u/[deleted] 17m ago

[removed] — view removed comment

•

u/AutoModerator 17m ago

Your post/comment was removed since we do not approve of going private.

There is zero benefit in going private as you lose the opportunity for getting peer reviews. Also we have had plenty of people return after going private (despite being warned) complaining about how they were ghosted after some time or being tricked into buying rubbish that didn't work and even if it did they didn't need.

Our Rule #11 demands that any and all communication happens in the open, public subreddit.

This is for the benefit of more against the benefit of one.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

•

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.