LoopBack 4 | Fast and robust way to build an API.

preview_player
Показать описание
In this video we explore a node js framework LoopBack. LoopBack is one of the most easiest framework for API creation.
Steps that we take in the example:
1. Make sure that you have the latest node js in your system.
2. Any database installed.
3. Install LoopBack 4 CLI:$ npm install -g @loopback/cli
4. Install connector for your database ( in the example we are using MongoDB ):$ npm install loopback-connector-mongodb --save
5. Create datasource:$ lb4 datasource
6. Create Model:$ lb4 model
7. Create repository:$ lb4 repository
8. Create controller:$ lb4 controller
.9 and .10 : Pat yourself to the back and go get a beer!

Рекомендации по теме
Комментарии
Автор

Seriously you deserves trillions of likes just love it as i needed it badly this lecture

zahoorhussain
Автор

Amazing introductory tutorial for loopback beginner.! need more tutorials like this to explore more in loopback.

hardikpatel
Автор

Good job. It is just a bit strange to use npm for installing but then yarn to start. Yarn add is the equivalent to npm install

derSeega
Автор

we should a have prior knowledge of typescript to learn loopback?, can make apis with javascript?

StoryWithPhoto
Автор

How does search, filter and pagination work in LB4

yoking
Автор

I didn't have time to fully watch but i needed to see how loopback code looks like. Skipped every minute and all i saw was the terminal window throughout the video . is it coded using terminal?

Hypergraph
Автор

How do you manage API versioning with LoopBack?

tharakaabeyratne
Автор

Can make video on authentications also

manishmarx
Автор

Hi, I tried your Tutorial over 3 times but there is an issue that comes to me for all my tests. I will be appreciated if you can help me. please
1) the "id" does not come in the POST "try it out".
2) for all my tris I have this issue:
{
"error": {
"statusCode": 422,
"name": "UnprocessableEntityError",
"message": "The request body is invalid. See error object `details` property for more info.",
"code": "VALIDATION_FAILED",
"details": [
{
"path": "",
"code": "not",
"message": "should NOT be valid",
"info": {}
}
]
}
}
3) in memoryDB or lb3 itis ok database has no problem but in version 4 I have a problem in the first test.

rsa
Автор

Thanks for the video. Maybe you can create another one that helps developers extend the API with custom functions.

RockyCastaneda
Автор

I have question .
How to bundle Loopback 4 for run in real host instead run in localhost ? I tried to npm run build but folder dist didn't work on host
Thank so much .

minh
Автор

Thank you for this vidéo : very helpful !!

datajedi
Автор

Do you build API with Laravel or Lumen?

JacquesvanWyk
Автор

Do mind telling what's your Linux distro?

stephanhan.
Автор

I thought Baby Shark will be played in the beginning of the video ...

haralc
Автор

Hi, anybody that knows how to make a custom endpoint controllers to filter whit a relation ship table to find the name in the other table?

Felipecuevas
join shbcf.ru