P
P
picka2020-12-19 23:38:26
MongoDB
picka, 2020-12-19 23:38:26

What is the best way to deploy and build a MEVN application with Nuxt?

Greetings!

Tell me how best to implement and deploy a MEVN application in the future.

I have more or less studied and worked with NUXT and VUE. I made regular blogs, where thanks to PHP mysql database gets information converted into a JSON array, which I already hooked into the application thanks to Vuex.

Now I'm interested in MongoDB, and I would like to transfer everything to it.

Tell me how best to implement this whole process with Nuxt. My hoster (Beget) has a mysql database installed in advance, thanks to which I can store and display data. How do I deploy on MongoDB hosting? What is the best way to link MongoDB with Nuxt?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
postya, 2020-12-20
@postya

Do you have VPS from Beget? if yes, then you can remotely connect to the server and install Beget Mongo DB on the virtual machine, if not VPS, but just services provided separately, then ask to install MOngo DB and give you access to it.
Do you have a monolith application on Nuxt?
Nuxt - This is the front, which is mostly done separately from the back. Receiving and sending data to the database is carried out in Nuxt via fetch, or you can use a library, for example, axios.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question