I'm pretty new to Bitcoin, so, excuse me if this is a very basic question.
I'm coding a site in which an user must be able to deposit into an account, and basically spend/earn bitcoin in there. I assume I need to create a wallet for each user, but how can I achieve this? I'm struggling to find a way, or even documentation.
I've found Blockchain's API in here:
https://blockchain.info/api/create_wallet, which I assume is what I want, but then again, I'm not sure if I'm getting it.
So, in a nutshell, this is the functionality I'm looking for:
1. Being able to create a wallet for each user
2. That the user is able to deposit/withdraw to and from their wallet.
3. Through the in-site UI, that the user is be able to purchase services and/or earn Bitcoin (which would imply being able to make transactions on behalf of the user)I'm guessing, from what I've read, that I could use bitcoind, but since I'm new to this, I would guess that I might commit mistakes that make the service vulnerable to hackers.
So my questions are:
1. Is Blockchain's Create Wallet API, the way to go? And if it is, is it reliable and secure?
2. How difficult would it be to implement this on my own? Is it secure and possible to do so with bitcoind? Where can I find the documentation for this?
3. Do you have any other suggestions as to how I can achieve something like this, learning resources, documentation I should read, etc?My server is running on Node.js, by the way.
I'm just looking for advice so I can move in the right direction, thank you.