It is painful to invest 8 months of one's life into something that wouldn't have produced any returns in the first place.
Painful, yes. A waste of time, I don't think so.
Although I would never recommend building something without understanding the business model, all is not lost. OP probably learned more valuable lessons (and technology) in that 8 months than he would have in a job or at school. Now is the time to put that education to work. Not doing that would make it a waste of time.