ChickenKyiv / api-extended-database-Khyati

GNU General Public License v3.0
0 stars 2 forks source link

mongodb link #5

Closed atherdon closed 6 years ago

atherdon commented 6 years ago

mongodb://heroku_b97rxdzw:fnnua12mbtlqd5bh0i35roo0a@ds141524.mlab.com:41524/heroku_b97rxdzw


You'll need to have a loopback-connector-mongo package in order to setup it well.

Sample: https://github.com/GroceriStar/groceristar/blob/master/server/datasources.json

khyati0212 commented 6 years ago

Let me if I am wrong but in tutorial it was not needed.

atherdon commented 6 years ago

Yeah, at this tutorial you need to install your own local mongodb server. and i think this is the most weaker place of this tutorial

atherdon commented 6 years ago

instead of setup local database - I've created an online instance just for you

khyati0212 commented 6 years ago

Oh great. Thanks.

khyati0212 commented 6 years ago

I did install loopback-connector-mongo package Can u send me automigrate sample details?

atherdon commented 6 years ago

this is the most recent version of import script that i did: https://github.com/ChickenKyiv/recipe-search-api/tree/master/bin

how to run this script: https://github.com/ChickenKyiv/recipe-search-api/blob/master/package.json#L15

not remember - but it can be broken at this moment. If it will crash - buzz me - and i'll finish it - cause i'm lazy to do it.

nice progress, BTW. we'll need an upload stuff for images soon

atherdon commented 6 years ago

I think this ticket can be closed, right?

khyati0212 commented 6 years ago

yes

atherdon commented 6 years ago

you need to use that link in order to connect mlab with our code

khyati0212 commented 6 years ago

done