this one is off amazon, but I’ve been using it for over a year now and it’s been working great. $70 and it includes both front and rear cams
You're thinking of something like this. However, be warned that a lot of users have complained that these devices aren't that great. A good back up cam does not make a good dashcam and vice versa. But if you're in the budget option, this may be your best bet.