Your boss sounds like a retard. You can build an entire store using Shopify, Wordpress + an ecommerce plugin, etc. in a day with little to no coding experience. Why reinvent the wheel?
Also, don't worry about a lawsuit. You've probably made MAYBE a few hundred bucks, not worth anyones time to go collecting that. Additionally, from what you've stated, I see no evidence of foul play on your end.