Nuxt.js: Coming from Meteor ... Using Mongodb for data .

Created on 19 Dec 2016  Â·  9Comments  Â·  Source: nuxt/nuxt.js

Greetings,

I am comong from Meteor.js where uve used mondogb to store snd retrieve my data.

I'm curious is there a way to use Mongodb in Nuxt ? Or is it mainly meant for static rendering. Please forgive me if this is a rudimentary question.

Thank you

Ryan.

This question is available on Nuxt.js community (#c56)
question

Most helpful comment

Hi @rwatts3

Nuxt.js scope is to UI rendering, while abstracting away the client/server distinction.

If you need a proper logic, such as connecting to a database, you should keep it in another application which serve an API to access the resources. An then call this API from your Nuxt.js application.

Nuxt.js empower the micro-serve architecture, which is a bit different from a Meteor perspective I guess.

All 9 comments

Hi @rwatts3

Nuxt.js scope is to UI rendering, while abstracting away the client/server distinction.

If you need a proper logic, such as connecting to a database, you should keep it in another application which serve an API to access the resources. An then call this API from your Nuxt.js application.

Nuxt.js empower the micro-serve architecture, which is a bit different from a Meteor perspective I guess.

Thank you

On Mon, Dec 19, 2016, 1:14 PM Sébastien Chopin notifications@github.com
wrote:

Closed #72 https://github.com/nuxt/nuxt.js/issues/72.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nuxt/nuxt.js/issues/72#event-899170112, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AFFsST5-3AR0i2kBcB3NBtqYVZ2NPqj3ks5rJuW4gaJpZM4LRHar
.

@rwatts3 you might want to use http://deployd.com as a micro-service and call it from your Nuxt.js application

Funny you should mention deployd I've literally just started researching
deployed as an option.

On Fri, Dec 23, 2016, 2:18 PM Sébastien Chopin notifications@github.com
wrote:

@rwatts3 https://github.com/rwatts3 you might want to use
http://deployd.com as a micro-service and call it from your Nuxt.js
application

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nuxt/nuxt.js/issues/72#issuecomment-269046666, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFFsScdq81Wx3qRRtC8iJ0b_peFrEFzPks5rLDqhgaJpZM4LRHar
.

It'd be cool to show in the examples a simple demo using a DB (f.e. Mongo).

Agreed.
On Sat, Sep 9, 2017 at 12:16 AM Joseph Orbegoso Pea <
[email protected]> wrote:

It'd be cool to show in the examples
https://nuxtjs.org/examples/async-data a simple demo using a DB (f.e.
Mongo).

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nuxt/nuxt.js/issues/72#issuecomment-328260177, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFFsSaPSvN5VlCfb3qlcuSJ-pfcHtNV-ks5sgjs8gaJpZM4LRHar
.

>

-V/R

Ryan Watts

Agreed

@rwatts3 @rwatts3 although, it would be very interesting if minimongo was attempted in nuxt as a module :)

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings