Ever heard of json-server? That's a wonderful package that you can install and start to bootstrap your RESTful prototype with all CRUD operations ready to use. Come check it out!
Some time ago I tried to build my first NPM package, moved by the fact that I used quite a few of them without even knowing how to make one. It was a great learning opportunity.