Stomach virus?

I was completely fine till I ate dinner last night, about 2 hours later I was sweaty and throwing up, threw up 4 times in 2 hours. After that last time I threw up I was fine. I didn't feel all that bad. It's been 19 hours and haven't been sick at all but I did have a little watery poop earlier. Was this a stomach virus or something else?