Being second is not the end. Many companies were not first.
Facebook was not first in social networking.
Facebook was not first in social networking.
Frankly, I'd be worried if there wasn't competition in your particular niche. Either you have stumbled on something truly revolutionary (unlikely) or the niche is just too small to support more than a one-man company. So, competition is good.