ChickenKyiv / loopback-tutor-intern-26

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

First step. Loopback intro #1

Open atherdon opened 6 years ago

atherdon commented 6 years ago

intro

https://github.com/optis/loopback-rest-api - this is the best tutorial that helps me 1 year ago.

Please buzz me before including MongoDB database - so I'll generate a new instance for you.

As I want to see your progress - please use this repo and push your progress here. Share with me progress and questions that I can help you with. Don't hesitate to use my help. i willing to start fast and with less stress for you at the beginning. Also will check your git skills.

Is there any timeline to finish?

nope, because you only starting this. and I know how hard it can be from the beginning. But this is the best tutorial that I find about loopback. I use it too a year ago. btw, as usually - feel free and ask any questions or seek my help here.

invite link

Please use this link in order to be added as a contributor: https://github.com/ChickenKyiv/loopback-tutor-intern-26/invitations

LizTW commented 6 years ago

Ok so I've started it but there seems to be an issue with the localhost after setting up the lb model - I followed all the directions but am getting a "failed to connect to localhost port 3000" error. I was looking it up to see if I could fix it but wasn't even sure which file it was posted under. Any suggestions??

atherdon commented 6 years ago

can you push your code to this repo? i'll be able to try your version at my local machine

atherdon commented 6 years ago

@LizTW i see you code - but your loopback installation looks a bit strange. did you create it by using loopback-cli and installed a 3rd version? your structure should look like this:https://github.com/ChickenKyiv/recipe-search-api

LizTW commented 6 years ago

I followed what the tutorial said to do and then got stuck - so it was all done in the command line which is why I'm slightly lost on how to even find the right part of code as I didn't make the files myself

atherdon commented 6 years ago

can you try from scratch at different folder? maybe it'll help...

On 16-Jun-2018 at 06:16 PM, Liz wrote:

I followed what the tutorial said to do and then got stuck - so it was all done in the command line which is why I'm slightly lost on how to even find the right part of code as I didn't make the files myself

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ChickenKyiv/loopback-tutor-intern-26/issues/1#issuecomment-397830188, or mute the thread https://github.com/notifications/unsubscribe-auth/ABZrDhfce9c5A3y_vA3QCUuVuELykqHkks5t9Ut-gaJpZM4UmhLL .

LizTW commented 6 years ago

Ok I'll trash all of it and try to start from the beginning - I'll keep you updated but it's late here so I may start again in the morning

LizTW commented 6 years ago

Ok I started again but am stuck at the same spot. This time I had committed so you should be able to see where I'm at and where I'm stuck....

atherdon commented 6 years ago

Don't worry. I'll take a look and hope will be able to give you some ideas...

atherdon commented 6 years ago

@LizTW Just checked your code. I was able to start a server. I clone your repository, then enter the loopback-tutor-intern-26 folder and use a terminal with this command: art@art-H61M-D2-B3:~/Documents/C/ck/loopback-tutor-intern-26/loopback-tutor-intern-26$ npm run start