ChickenKyiv / loopback-tutor-intern-10

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

Import files added #11

Closed louisevdb84 closed 6 years ago

louisevdb84 commented 6 years ago

I added directory import-db-files which contains the import files. Cannot test it, need to complete the migrate section first. So I have no idea if this will work and whether I included all the correct files for this.

I also added try catch block for Raven in model - reservation. As per previous comment, I have not yet tested the email functionality, because a new reservation needs to be created and struggle to do that using db.json as datasource. Will test as soon as MongoDb is up and running.

atherdon commented 6 years ago

you should add a migrate script at package.json. i think it missed.

also you don't need id field at that arrays. but other things is looks ok, just must be updated for your particular case...

atherdon commented 6 years ago

and please use same structure as i have - with bin folder where i store all import things, just to avoid my confusing...