Kris Foster
Kris Foster
  • Видео 117
  • Просмотров 1 952 280
Bazel & Docker: Using Custom Base Images
In this video we're going to be building docker images using bazel. We'll be using custom base images. These base images can come from a docker registry (e.g. dockerhub) or can be built locally.
Code: github.com/kriscfoster/multi-language-bazel-monorepo
Bazel: bazel.build/
Rules Docker: github.com/bazelbuild/rules_docker
Просмотров: 2 383

Видео

Bazel & Java Tutorial: java_library & java_binary (internal & external dependencies)
Просмотров 3,9 тыс.Год назад
In this video, we're going to be adding a java project to our Multi Language bazel monorepo. We're going to have a java_library target that also uses some external dependencies from maven central & a java_binary target that uses the monorepo java_library. We'll be using the built in java_library & java_binary targets, as-well as rules_jvm_external to pull the dependencies form maven central. Re...
Using Gazelle to Improve Multi-Language Bazel Monorepo
Просмотров 3,4 тыс.Год назад
In this video, we're going to be using some features from Gazelle to improve our multi-language bazel monorepo. We will be using the update-repos support to provide our go dependencies to bazel. We will also be using the gazelle build file generation/formatting support. Repository - github.com/kriscfoster/multi-language-bazel-monorepo Gazelle - github.com/bazelbuild/bazel-gazelle
Bazel Tutorial: How to Build, Run, Test & Query (deps, rdeps, tags)
Просмотров 2,5 тыс.Год назад
In this video, we're going to be going over the bazel fundamentals. We'll be learning how to build, run, test and query for targets in a fun and gamified bazel workspace. This will make it easy to understand how bazel works. We will query for dependencies (deps), reverse dependencies (rdeps) and tags. Bazel: bazel.build/ Bazel Mystery: github.com/salesforce/bazel-mystery
Deploying from a Bazel Monorepo to Heroku
Просмотров 1,2 тыс.2 года назад
In this video, we're going to be deploying bazel binary targets to heroku. Traditionally, these things don't work very well together because of the way heroku detects app types and the way a bazel repository is organized. However, bazoku tries to solve this. We are able to deploy using bazel to heroku from our local machine and from a GitHub workflow. Bazel: bazel.build/ Bazoku: github.com/sale...
Bazel & Docker Tutorial: Building container images with bazel (local & remote registry)
Просмотров 7 тыс.2 года назад
In this video we're going to be building docker images using bazel. We'll be running these container images locally and pushing them to the dockerhub registry. Bazel: bazel.build/ Code: github.com/kriscfoster/multi-language-bazel-monorepo
Bazel & NodeJS Tutorial: library, test & nodejs_binary (internal & external deps)
Просмотров 4,4 тыс.2 года назад
In this video we're going to be creating some nodejs targets with Bazel. Bazel is a build tool that is very popular for use in monorepos. We're going to create a nodejs library. We'll write the library and also write some bazel test targets Then we're going to create a web application & create a nodejs_binary target. The web application will have both third party dependencies (express) & depend...
Bazel & Go Tutorial: Targets with go_library, go_test & go_binary (internal & external deps)
Просмотров 7 тыс.2 года назад
In this video we're going to be creating some go targets with Bazel. Bazel is a build tool that is very popular for use in monorepos. We're going to create a go library that doesn't have any external dependencies. We'll write some tests & create targets using go_library and go_test. Then we're going to create a web application & create a go_binary target. The web application will have both thir...
GitHub Actions/Workflow with Smart Devices (Lightbulb, Google Home, Spotify + Raspberry Pi)
Просмотров 5772 года назад
Walkthrough of a GitHub workflow that interacts with smart devices. The workflow runs node tests with jest, turns on a green smart lamp (tp-link), plays music on a Google Home speaker with Spotify & takes a photograph with a Raspberry Pi. Code: github.com/kriscfoster/pr-celebration-github-workflow
GitHub Actions for Bazel Monorepo - Building & Testing (CI)
Просмотров 7 тыс.2 года назад
In this video we're going to be adding a GitHub workflow to our bazel monorepo. We will be using an action to setup bazelisk & then we will run bazel build & test in the CI. Bazel: bazel.build/ Code: github.com/kriscfoster/multi-language-bazel-monorepo Setup Bazelisk Action: github.com/marketplace/actions/setup-bazelisk
Bazel Tutorial: Python targets with py_library, py_test & py_binary (internal & external deps)
Просмотров 21 тыс.2 года назад
In this video we're going to be creating some python targets in Bazel. Bazel is a build tool that is very popular for use in monorepos. We're going to create a simple python library without any external dependencies. We'll write some tests & create targets using py_library and py_test. Then we're going to create a flask application & create a py_binary target. The flask application will have th...
Bazel Tutorial: (Part 1) Getting Started, Bazelisk & our First Build Targets
Просмотров 49 тыс.2 года назад
In this video we're going to be creating our first build targets in Bazel. Bazel is a build tool that is very popular for use in monorepos. We're going to start by discussing what bazel is & the motivation for using it. We're then going to install bazelisk & use it to manage our bazel version. Then, we're going to create our first bazel targets using the genrule. Bazel: bazel.build/ Code: githu...
Running NodeJS Tests/CI with GitHub Actions/Workflow
Просмотров 13 тыс.2 года назад
In this video, we're going to be running our NodeJS tests/continuous integration with a GitHub Action/Workflow. We will be using jest as our test runner. GitHub actions is a really nice way to run your continuous integration. It's really easy to run your tests with node/npm and GitHub actions. Code: github.com/kriscfoster/github-workflow-nodejs-tests
TypeScript REST API (Pt 4) Acceptance Testing with Jest & Supertest
Просмотров 9 тыс.2 года назад
In this video we're continuing with our TypeScript REST API. We're going to create some acceptance tests to test our API from end-to-end. We use jest & supertest for the tests. Full Code: github.com/kriscfoster/typescript-postgres-typeorm Code Difference from part 3: github.com/kriscfoster/typescript-postgres-typeorm/compare/acceptance-tests?expand=1 Install NodeJS: nodejs.org/en/ Install Docke...
TypeScript REST API (Pt 3) Request Validation with express-validator
Просмотров 8 тыс.2 года назад
In this video we're continuing with our TypeScript REST API. We're going to improve request validation using express validator (www.npmjs.com/package/express-validator). Full Code: github.com/kriscfoster/typescript-postgres-typeorm Code Difference from part 2: github.com/kriscfoster/typescript-postgres-typeorm/compare/request-validation?expand=1 Install NodeJS: nodejs.org/en/ Install Docker: do...
TypeScript REST API (Pt 2) Error Handling Middleware, API Logging & More
Просмотров 6 тыс.2 года назад
TypeScript REST API (Pt 2) Error Handling Middleware, API Logging & More
TypeScript REST API with NodeJS, Postgres & TypeORM
Просмотров 27 тыс.2 года назад
TypeScript REST API with NodeJS, Postgres & TypeORM
GitHub Copilot vs Leetcode Interview Questions
Просмотров 9442 года назад
GitHub Copilot vs Leetcode Interview Questions
Kafka Tutorial - Node.js Producer & Consumer
Просмотров 69 тыс.3 года назад
Kafka Tutorial - Node.js Producer & Consumer
TypeScript Dependency Injection using tsyringe
Просмотров 32 тыс.3 года назад
TypeScript Dependency Injection using tsyringe
NodeJS & Express - Google OAuth2 using PassportJS
Просмотров 96 тыс.3 года назад
NodeJS & Express - Google OAuth2 using PassportJS
React Testing Tutorial (Jest + React Testing Library)
Просмотров 241 тыс.3 года назад
React Testing Tutorial (Jest React Testing Library)
Introduction to JavaScript Testing with Jest
Просмотров 1,4 тыс.3 года назад
Introduction to JavaScript Testing with Jest
Pagination & Sorting in REST API using Spring Data JPA
Просмотров 19 тыс.3 года назад
Pagination & Sorting in REST API using Spring Data JPA
Spring Data JPA Relationships Tutorial - ManyToMany, ManyToOne & OneToMany
Просмотров 140 тыс.3 года назад
Spring Data JPA Relationships Tutorial - ManyToMany, ManyToOne & OneToMany
Spring Boot & Thymeleaf Tutorial (+ Bootstrap)
Просмотров 94 тыс.3 года назад
Spring Boot & Thymeleaf Tutorial ( Bootstrap)
Spring Boot App with Docker & Kubernetes Tutorial
Просмотров 13 тыс.3 года назад
Spring Boot App with Docker & Kubernetes Tutorial
Easy JavaScript Game Tutorial
Просмотров 22 тыс.3 года назад
Easy JavaScript Game Tutorial
Spring Boot Testing a REST Controller with Unit, Integration & Acceptance Tests
Просмотров 53 тыс.3 года назад
Spring Boot Testing a REST Controller with Unit, Integration & Acceptance Tests
Spring Boot Unit Testing using Mockito & JUnit
Просмотров 19 тыс.3 года назад
Spring Boot Unit Testing using Mockito & JUnit

Комментарии

  • @abhinavbabu1237
    @abhinavbabu1237 3 дня назад

    👌

  • @paritoshpanigrahi007
    @paritoshpanigrahi007 6 дней назад

    I used your code, but did not get refresh token, I tried option access_type: 'offline', but still it is not giving refresh token. Could you please tell me how can I get the refresh token. It would be helpfull if you could make a video on it. The solution is not present on internet.

  • @Logi-MateenSyed
    @Logi-MateenSyed 9 дней назад

    I wounder why we always need th: isnt it should be tr: for table row and td: for table data for line 18 and 19 !!!

  • @mingtindu123
    @mingtindu123 17 дней назад

    Very helpful video it is short and suit ❤❤🎉

  • @reggenius
    @reggenius 21 день назад

    Honestly, this video took the core of dependency injection using tsyringe and decoupled it in approximately 7 minutes. Nice one Kris Foster, it's hard to find conciseness merged with in-depth these days.

  • @shankarraj3433
    @shankarraj3433 29 дней назад

    Thanks Kris for this Spring Boot with Thymeleaf Example.

  • @UtkarshSingh_gt7
    @UtkarshSingh_gt7 29 дней назад

    Thanks man

  • @g2svnit
    @g2svnit Месяц назад

    Detailed, clear and concise tutorial, hard to find such straightforward learning.

  • @sreekumarmenon
    @sreekumarmenon Месяц назад

    Thanks Kris for creating this project! its a fun and easy way to understand the bazel commands !

  • @sreekumarmenon
    @sreekumarmenon Месяц назад

    who ever is watching in 2024 should look at the repo, js code is better in there! (with js_lib ,js_binary,and jest etc)

  • @oakinola
    @oakinola Месяц назад

    Amazing video!! Thank you so much...clearly explains the difference between all 3 tests.

  • @KosPepeHands
    @KosPepeHands Месяц назад

    Needed a reminder for a quick project, simple and straight to the point. You saved me two hours.

  • @BarbarosYurttagul
    @BarbarosYurttagul Месяц назад

    Hi Kris, thanks for the video. 21:26 How did you manage to reduce the test execution speed from 2+ seconds to 0.666 seconds? I did the same steps but mine didn't change.

  • @NewsToday-kf8rr
    @NewsToday-kf8rr Месяц назад

    bazel build ///... for windows

  • @andrejkling3886
    @andrejkling3886 Месяц назад

    Cool set up… can you show some real project with same configurations for project?

  • @Luke_UPPX
    @Luke_UPPX 2 месяца назад

    Can u explain how to use this DI in React Component?

  • @frankrichardsomething
    @frankrichardsomething 2 месяца назад

    About 4 yrs ago I had to build images with bazel because bazel became the enforced standard build system company wide Wish I had these explanations back then, good stuff

  • @immensives147
    @immensives147 2 месяца назад

    Other than him, no one was helpful to me for this particular problem, Thanks Man 👍

  • @osamaayub6004
    @osamaayub6004 2 месяца назад

    Cannot GET /auth/google/callback getting this error

  • @parindyapigera1790
    @parindyapigera1790 2 месяца назад

    Why is that the Dinosaur's legs aren't moving?

  • @setoelkahfi
    @setoelkahfi 2 месяца назад

    This is really useful

  • @mikebrown5142
    @mikebrown5142 2 месяца назад

    really good, simple tutorial. God bless! if you get the chance - read Matthew 16:28

  • @RahulJhaJourney
    @RahulJhaJourney 3 месяца назад

    data still coming I have done this part docker compose down and again I restart the docker compose up -d but data is still coming and I also remove the data

  • @naderhany3639
    @naderhany3639 3 месяца назад

    man you are awesome

  • @andersonsimeon4172
    @andersonsimeon4172 3 месяца назад

    For a 3 years ago video, this is high quality staright to the point content. Thanks Man

  • @JaiKumar-jh7hl
    @JaiKumar-jh7hl 3 месяца назад

    Bad

  •  3 месяца назад

    awesome content , thank you very much your time.

  • @navyaraj5316
    @navyaraj5316 3 месяца назад

    getting error while installing rdkafka 😢 anyone help please

  • @AlassaneMbengue-zy3mn
    @AlassaneMbengue-zy3mn 3 месяца назад

    Very helpful tutorial

  • @Aryxst
    @Aryxst 3 месяца назад

    God bless you!

  • @andrews13
    @andrews13 3 месяца назад

    So, will the Node.js application use the email address as some Primary Key in the database to identify a user?

  • @user-yn4qr7hu9r
    @user-yn4qr7hu9r 3 месяца назад

    thx man saved me

  • @user-yi6et5mb3v
    @user-yi6et5mb3v 3 месяца назад

    Very nice and clear video! Thank you so much😊❤

  • @ErmanUtkuavsar
    @ErmanUtkuavsar 4 месяца назад

    Gold, very clear.

  • @marvinotieno2194
    @marvinotieno2194 4 месяца назад

    This video is really good

  • @hadihadidi6059
    @hadihadidi6059 4 месяца назад

    Best tutorial out there about Testing. Thank you!

  • @AhmadMaartmesrini
    @AhmadMaartmesrini 4 месяца назад

    thank you

  • @namnguyenhoai9850
    @namnguyenhoai9850 4 месяца назад

    What about the database?

  • @themrsupermanto
    @themrsupermanto 4 месяца назад

    Wow, thank you so much. Paginating with spring boot seems a lot easier than in Node, even with Prisma ORM.

  • @moisesherrera71
    @moisesherrera71 5 месяцев назад

    Do you know how would this work if you need to connect with a database like postgresql?

  • @vidyashet800
    @vidyashet800 5 месяцев назад

    Was so confused with Google Auth, Thank you so much for this wonderful tut

  • @maxdev6347
    @maxdev6347 5 месяцев назад

    Which node version you use

  • @get_carrot
    @get_carrot 5 месяцев назад

    like your voice

  • @GlitchedFailure
    @GlitchedFailure 5 месяцев назад

    To the point, goes step by step. Well done!

  • @AfricanThinker86
    @AfricanThinker86 5 месяцев назад

    How would you make it so the getBooks method could be sorted in both descending or ascending order?

  • @12crenshaw
    @12crenshaw 5 месяцев назад

    I really don't understand why there's so little about managing relationships when creating rest api. It's bonkers to me. What good is post and user to me, when I can't even display posts of user

  • @fdcendm
    @fdcendm 5 месяцев назад

    you are the best !!!

  • @amirmohammadmirzaeirad3
    @amirmohammadmirzaeirad3 5 месяцев назад

    Thanks man, great tutorial for those who are just getting started with kafka with nodejs.

  • @jeancarloscampos8636
    @jeancarloscampos8636 5 месяцев назад

    YOU ARE AMAZING BRO!!! THANKS SO MUCH

  • @Proviper666
    @Proviper666 5 месяцев назад

    I Tried to make snake using grid and <divs>, but it felt so buggy. I will Probobly redo games using canvas.