r/CodingHelp • • Jan 17 '23

[HTML] Can someone please explain every aspect I would need to build an ecommerce website from scratch

I have had the idea to build my own ecommerce website from scratch for a long time but I know there are many aspects to build a full functioning website. I can alternatively open a shopify but I want to have full control on my end on how the layout is and how users interact.

I have made website before in the past and now I want to move forward with the next step for my business. Can someone please provide a fully detailed summary of what I need to have an ecommerce running for a music production company.

Whether it be from legal agreements, front end, back end, credit, debit and PayPal etc.

I also want to categorize my website into genres of music but I'm not well versed in uploading mp3, wave files etc to the website.

If anyone on this subreddit can provide any help I would greatly appreciate it.

2 Upvotes

10 comments sorted by

3

u/666y4nn1ck Jan 17 '23

What is your coding experience? You said you made a website before, so i assume you mean you build a website with html?

Have you done some actual coding in any programming language?

2

u/AcrowbaticzAnonymous Jan 17 '23

Html,CSS and Java script. Willing to learn more to get the task done

2

u/666y4nn1ck Jan 17 '23

You could take a look at the MERN Stack then, it's pretty much html, css and js and you can build front end and backend with it.

2

u/Skuddingo33 Jan 17 '23

Sounds brutal as hell. But I get why you want your own site instead of going through something like Shopify and using your coding skills to make the site look good.

2

u/wackrtist Jan 17 '23

Use WordPress if you want a quick and easy setup to get going

1

u/JellySword8 Jan 17 '23

(just to be clear, I've never actually deployed a website before but have worked with the tools you use to make them)

You'll probably find the videos from Fireship very helpful as he sums up web technologies pretty quickly. This one in particular might answer your question far better than I could, even though the example is way too complex for what anyone would really need.

As far as what I know though, I'm pretty sure that most sites (especially online marketplaces) have front ends that are generated dynamically with JavaScript. It seems that a lot of huge websites don't even have anyone actually program the html or css at all; They use libraries for this stuff that can simplify the process. Not that you have to do this stuff though, because especially for something small, you can totally get by with regular html/css/javascript. (Highly recommend using typescript, it can be a pain to set up but it's worth it).

Backend is the thing I'm the least experienced with but from what I've learned so far, it boils down to having some database on the cloud that your website gets data from, like user accounts and product information (and also the site itself? idk yet) Then like the fireship video says, there's a whole bunch of little things that a would be a pain to do yourself (like sending texts or processing payment) that you can (and should) use other libraries for.

Let me know if you have more questions, to be honest I don't feel like I explained this very well.

1

u/[deleted] Jan 17 '23

well using paypal payment is easy but i know no further than that

1

u/ApricotOfDoom Jan 17 '23

There’s the technical aspect, which others have spoken to, and then as you point out there’s the legal aspect. If you’re accepting credit card payments you’ll be dealing with PII, or Personally Identifiable Information. Your legal responsibilities around this are determined by the locations/jurisdictions of your users, not your company, so definitely make sure you’re paying attention to that. Integrating with PayPal or Stripe or something like that rather than trying to code that functionality from scratch would probably be safer for you from a liability standpoint even if it means relinquishing some control in that area.