I had Django in mind , would that not be suitable too?

Reply to this note

Please Login to reply.

Discussion

I use Django a fair bit, and have come to enjoy it.

It would absolutely be suitable for what you're describing.

If it was me, I'd probably think about using docker-compose, to create nginx, django & btcpayserver containers, all running inside the same virtual network.

nginx to proxy incoming requests to your django app, which in turn handles all of your internal logic, and can reach out via API to fetch invoices from the btcpayserver instance...

the best bit about this type of architecture is that anything else you need along the way, you can just add an additional container to your docker-compose configuration. be it a database, Tor, lightning node, whatever....

Thanks for the advice man.

So BTCPay does have an API then?

I've been putting off docker because it looks intimidating .

Well, I’m not sure whats your technical level so sorry if I explain obvious things. To complete your task end to end in the simplest way you need:

1. Service that handles your business logic (process user requests, store products, manage them, contact with btcpay server)

2. Btcpay server

3. Server to run it (assuming you don’t use any managed solutions like AWS etc)

4. Tool to build your app

5. Tool to deploy your app to the server (because you don’t want to do it manually each time by copying source code to production)

6. Tools for basic monitoring your apps are operating ok and fixing if not

7. Tools/processes to attach domain name to your server (and most likely you want to handle SSL certificates too)

Django may help you solve 1)

For everything else (well except for 3) there are infinite numbers of ways to handle it manually, less auto, more auto, extremely automatically.

Caprover may help you with all those items except for 1) and 3) but you have to have basic understanding of docker

It may also help you solve 1) by installing one of the 1click apps and setting them in a no/low code way. However if you are fine implementing your business logic in Django, you don’t need it

By low code tools you can install with caprover I mean something like this https://budibase.com (there are more on the market like this)

Take a look and maybe you will find it a better tool for your use case instead of sjango