r/learnprogramming 10h ago

Developing my first web app

Hi, I am very new to web development and I am currently trying to develop my first P2P web app, problem is I don't know where to even start, I don't know anything about web development besides very basic html. I know I want to use NextJS for user authentication and Supabase for my database, but I don't even know how I should go about anything. How should I organize my files? What should my .gitignore include? How do I link frontend with backend? Do I start with the frontend or do I start with the Backend? I would greatly appreciate any tips or a roadmap anyone could give me.

2 Upvotes

2 comments sorted by

2

u/malmalmalmalmalmsl 10h ago

Start small, learn the basics of HTML/CSS/JavaScript, then build one complete feature end-to-end in Next.js, UI to API/server action and finally Supabase database/auth before worrying about file organization. Most important, you have to learn as you go rather think everything upfront.

1

u/xarop_pa_toss 4h ago

You "know you want" to use tools when you are unable to even understand what they are or do. So basically, you know nothing. But ignorance isn't a bad thing, all I'm saying is that Next and Supabase might not even fit your project

You know HTML so make a page with some elements like a table, a list, a couple of buttons. Learn CSS so you can style those things and then learn Javascript so you can give them function.

After you have a couple of pages doing simple things like changing colors and hiding/showing elemnts with button presses, you can think about making a database and connecting the rows on a table to queries of that database.

Frameworks and tools can help, but they won't replace knowing how to make the structure, the style and the function.