I've built a bunch of them. Geared hubs and mid drives, mostly frame-up. I started with the hubs and, when they couldn't handle the hills I wanted to ride in, moved to mids. Mixed into the middle were 2wd builds. You can read the project builds here, of which there is quite a bit of detail on installation and the thinking that went into each..
Not quite a Site Map, this page lays out all of the site’s posts in outline form, on one screen, separated by the main category of each and ordered depending on how I think it will be best re…
talesontwowheels.com
I spend a fair amount of time on DIY discussion groups and one of my favorite lines - the one that falls on deaf ears the most - is "DIY does not have to mean half-assed" and that is the charitable way to describe most DIY builds, it seems (here on this forum you'll see examples from people who know what the hell they are doing, thankfully).
A big plus is knowing basic and intermediate bicycle mechanics. Proper tools for the job. Knowing what a torque spec is and following it. Understanding why straight chainline is such a big deal with a mid drive. And so on. I actually wrote that blog above not to detail my builds but to put frequently-made explanations into a place where I could link and re-use them rather than having to write them up over and over again as the subjects repeatedly come up.
Where to buy stuff:
Mid drive motors: Luna, California ebike
Hub motors: Grin Technologies, Ebay, Ali Express (depends on how much handholding you want)
Batteries: #1: Bicycle Motor Works - a dependable USA seller who doesn't make a pack until you order it. Litespeed Bikes is another USA seller with a good rep. Luna Cycles has some good Made-in-USA packs that are unique in they are potted and have some unique attributes. Look for their Wolf and Dire Wolf packs for more. As a counterpoint, they are expensive and heavy though. If you absolutely must buy a Shark pack (you shouldn't), the only source I would trust is EM3EV. DO NOT EVER buy a cheap pack from an unaccountable Far Eastern source who *will* be much cheaper. Buy from pack sellers who have *perfect* reps only. This counts out UPP and Liitikala (I think I have that last one spelled right).
Do not screw around with frame reinforcement. Take a welder to a frame and all sorts of heat treatment issues come up. Besides, its never necessary. The mounts - even on a Cyclone - are what you want to reinforce, never the frame. For a BBSHD the dual hoseclamp trick can be done with thoughtfulness so no one even knows its there, plus more. (doubled up inner clamp rings tightened to 100 ft lbs each in particular).
Max speed in the lower 30's: Thats a taller order than you would be led to believe by many ebike builders out there. Working on hot rod cars, there is a common term everyone understands: The "butt dyno". The butt dyno of the car owner as s/he is seated in the driver's seat always measures horsepower and torque far more generously than a real dyno does. Same goes for reported speeds. The actual peak speed on a BBSHD is going to be 32-34 mph, and unless you are that mythical 130 lb rider, its going to take a bit to get up there. Add a front hub motor and ... no difference. It just gets up to that speed quicker. I will skip the (gearing and load) reasons why. Also if you want to be in the lower 30's, you should be using a 52v battery. 48v on say a geared hub is more likely to be peaking around 25-26. Now... if you want to do a Bafang G060, with a KT 35a controller... and a 60v battery... well now you have a bike capable of 40 mph. But range will be a lot less because physics. But that motor can take it and the battery can drive you up to that speed. On a mid: Get yourself a Cyclone, a 60a Kelly or beat the bushes for a Lyen controller and you have an inexpensive monster. Look at a Lightning Rods big block if you want big power but its going to be a project to assemble.
Lots of choices out there. Just look around and spend some time watching people screw up or succeed. thats your best way to learn without making expensive and painful mistakes.