KNEX

페이지 정보

profile_image
작성자동짜몽 조회 8회 작성일 2022-01-22 07:04:57 댓글 0

본문

Learn knex.js with Postgres and express in 35 minutes

More exclusive content: https://productioncoder.com/you-decide-what-we-build-next
Twitter: https://twitter.com/productioncoder
Blog: https://productioncoder.com
Website: https://jangoebel.com
Full code: https://github.com/productioncoder/knexjs-tutorial

In this video, we will cover how to connect to a database with knex.js, Postgres and express in Node. We cover how to perform migrations in knex.js, how to perform rollbacks in knex.js and how to systematically evolve a database schema.

00:00 Introduction
00:45 project setup
02:50 setting up a basic express server
05:30 generating knexfile
08:30 migrations in knex.js
11:30 setting up our first migration in knex.js
17:50 running migrations in knex.js
20:50 adding a REST endpoint that connect to the database
24:24 creating data access object with knex.js
27:35 creating knex.js service layer
28:54 building out controller layer
31:36 testing our app
34:27 adding error handling to controller
35:30 conclusion
Benjamin Martinez : I really like that you take the time to explain how the setup is done in a real world context using best practices. Other channels are less helpful because they use quick and dirty methods that are not good for production. Thanks!
Gabor Pfalzer : Great video, huge help for me as a beginner. I tried to implement layers by myself before, this one managed to clarify it even more. Amazing to see videos where the structure is not dumbed down, just because the example is simple. Thank you for your work!
chibuokem ibezim : This is a great tutorial, very helpful one, the fact that you also use best practises as much as you can while on it is great
Gustavo Braganti : Thank you very much for this tutorial! It helped me a lot! Keep up the good work!
Ayyaz Ahmad : Thank you so much for the knex crash course.
Would you please explain more about the service layer? Should the validation logic be added in the service layer and error response in the controller?
Thanks!

TOP 10 Most AMAZING K'NEX Creations

Sources \u0026 Credits:

10. Harley Bike
https://www.pinterest.ca/pin/404268504022099706/
By Vinnie Bentley

9. Frisbee Ride
https://www.youtube.com/watch?v=TiRcahRGYj4
By Thibault Art

8. Citadel V2
https://www.youtube.com/watch?v=JqwYJtzTcU4
By Shadowman

7. T-KNEX
By U.S. Space \u0026 Rocket Center

6. Coin Pusher
https://www.youtube.com/watch?v=w84wFId9SYk
By Ted Pounds

5. Ferris Wheel
https://www.youtube.com/watch?v=vEWmIOJpLZo
By Jeremy Biesecker

4. Ball Machine
https://www.youtube.com/watch?v=_TpFILPYq04
By Austin

3. K'nuter
https://www.youtube.com/watch?v=rdT1YT9AOPA
By Dan Ehrman

2. K'NEX Adventure Land
https://www.youtube.com/watch?v=6l8kcmADSLc
By Jochem and Max from Dutch Details

1. Bloodhound
http://www.bloodhoundssc.com/news/world-record-breaking-1000mph-bloodhound-k%E2%80%99nex-replica-unveiled

Music:

"Midnight in Tokyo"
By BlueFoxMusic
Purchased from Envato

"Ambient Subtle Modern Background"
Purchased From Envato
Glace038 : Ok, how do you not have more subs and likes???? This video is amazingly edited and it has good quality! And the reasons and stuff you put in is great too, new subscriber right here
Josh B : Imagine if something inside broke and having to deconstruct the whole thing to fix it
Matescium : All of them are insane discoveries
David Allan : That Ferris wheel is insane! I miss K’Nex
obwilly : how did that ferris wheel stay intact? lol

Colossal Racer - K'nex Racing Roller Coaster

Colossal Racer is my largest K'nex roller coaster build to date. It's modeled after a racing style wooden roller coaster.

Stats:
Roller coaster height: 88 Inches (2.24 meters)
Track length per side: 141 Feet 3 Inches (43.05 meters)
Ride duration: 56 seconds
Estimated building time: 400-500 hours
5MadMovieMakers : Incredible!
JayWez : "Colossal Racer looks too intense for me."
Derek Allyn : Jeez, the scale g-forces would probably make people pass out.
tim on pizzapie : It’s very rare to find someone with so much intelligence, patience, and courage. You have REAL talent.
LimpGrandma : YOU I PUT ON SOME VR GOGGLES AND THAT SHIT WAS AMAZING

... 

#KNEX

댓글목록

등록된 댓글이 없습니다.

전체 6,148건 19 페이지
게시물 검색
Copyright © www.urbanspace.kr. All rights reserved.  Contact : help@oxmail.xyz