Another way to formulate your bassline is all over a simple chord development. Starting with a primary I IV V prog (or in the event you’re in C key, C file G) could be the most popular house music/chordal setup.
https://www.youtube.com/watch?v=WX51gm6a4Hs