I confessed to crush and got rejected as he wasn't ready for commitment but I still liked him. We remains friends but I wanted more. What should I do?
That's great. Just look at how many people are afraid to tell someone they like him and never know because they are afraid it will wreck the relationship.
You accept that he doesn't want more, and move on. You can't always get you want, but you can choose to accept what you got, which I think is pretty cool.