If it's for CCTV then there's lots on the market some good some bad but if it's for say a shed, outhouse or a garage look at something like a wildlife motion detection camera with night vision there's lots on eBay.
watch these as can be had for about 45 and are good . stick an sd card in for back up and usb lead to power up
record on to nas or pc and get phone alerts