I am in final stages of completing a website code for affiliates in angular. How do i safeguard the code as if i give 100% code to a customer he will use it multiple times on multiple domains for free. Where in i loose the hard work. what solution does envato allow?
Is there some kind of backend for your Angular app (like with Node.js or PHP)?
The typical procedure would be to implement a “key gate” or license check in the backend. However, you really need to know what you’re doing here, because you’ll effectively need to create your own API on your own domain for this, which uses the Envato API on behalf of the user.
If you’re not experienced with creating and consuming HTTP APIs then I can’t recommend pursuing this until after your item is approved on the marketplace. You should also realize that you’re required to provide the full code for your item, so anyone can remove the key gate and waste your effort.
If your item is just a standalone Angular app and doesn’t have a backend, then I’m afraid you don’t have any suitable options to do this.
we are using Node.js as the backend.