How do i create a public ledger using blockchain for my application?

I'm developing a nodejs application and trying to integrate blockchain in it. Here in my application, I want to create a blockchain where only the server (my app) can create blocks. The blockchain is public and anyone can view it. I just need a simple way to store this blockchain publically and everyone has the read permission.

With my limited knowledge, I have created a system using node and MongoDB. where each block is stored as a document in db. using an api anyone can view the database, which didn't work.

Which backend technology should i use to get this done? Which specific npm modules should into?

#node-js #blockchain #cryptocurrency #mongodb

3.40 GEEK