Answer the question
In order to leave comments, you need to log in
Creating an admin panel for an online store on React. Where to do admin?
A question about the build architecture.
I am developing an online store on React.js.
The server part of Express + SQL, through the API work with the application.
The question arose of creating an admin panel for adding products, categories and other things.
Main question. How would it be better to make an admin panel? I see two main options:
1) Make it on the same domain, just open it with the link "/admin", but I'm afraid that this is not the best idea in terms of security.
2) Take out on a separate site, with access to let's say VPN (or something like that)?
Well, or offer other options, I haven’t written FullStack applications before, maybe there are ready-made good practices.
Answer the question
In order to leave comments, you need to log in
do it on a subdomain - it will be easier to proxy with the same nginx, for implementation it is convenient to use
ready-made solutions
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question