W
W
Wasya UK2018-07-19 14:39:11
MySQL
Wasya UK, 2018-07-19 14:39:11

Is it possible to do admin panel for node.js server like this?

I'm learning to develop sites on a node, and now I decided to use cms keystonejs, but here's the problem - the data is stored in a mysql database, and it only works with mongodb. Question: will it be correct to send a request to the server that gives the site, and it will add information to the database, and the admin panel will simply work on a different port? You will get something similar to the API. Or are there other options?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Aksentiev, 2018-07-19
@Sanasol

cms keystonejs

And what data do you store if you haven't even installed the CMS yet?
It doesn't work that way in general. First, install the CMS, and then make changes from above if necessary, and start recording your data, etc.
The CMS has its own database, data schema, default data, etc.
Somehow everything through the rear end.
You already have a website with data, and now you decide to attach some randomly selected CMS to it, which, in addition to being in Mongo, is probably made in another language stack relative to the site.
Again, that's not how it works at all.
Either the site needs to be redesigned on a CMS (transfer the design there, etc.) or you don’t need a CMS, but just a self-written admin panel for your site.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question