This is the first in a mini-series I'm doing on creating your own basslines in seven different styles. Stay tuned for hip hop, jazz, funk, rock, and Stevie Wonder-style 12/8. Go to my YouTube playlist for more on how to do this.
The lesson details some scales, arpeggios, and triads you can use to construct lines.
Beginner Bass Lesson: Scale, Triad, Arpeggio & Chord EXPLAINED
Bass Guitar Music Theory: The 7 Arpeggios From C Major
How To Learn And Use Triads On Bass Guitar
Bass Guitar Fingerstyle, Palm Muting, Left Hand Muting, Pick, Slap, Strums, Artificial Harmonics etc
Learn loads more basslines here.