Deploying CloudFlare Workers in 3 Minutes | Web Development

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

Комментарии • 23

  • @DudexChannel
    @DudexChannel 24 дня назад +2

    The video propose to deploy the worker in 3 minutes, and it has 3 minutes. But the development starts at about 2 minutes. This is amazing! thank you for the content.

    • @guibibeau
      @guibibeau  24 дня назад +1

      Thank you! I’m not wasting any time haha. The goal is always to help you move fast. Too much content for junior exist but not enough for intermediate and up

    • @codebyhasan
      @codebyhasan 11 дней назад +1

      @@guibibeau, take it up ❤❤

  • @AlexNguyen-e9m
    @AlexNguyen-e9m 2 месяца назад +2

    wow! this video is so good! I am getting better the more I watch his videos!

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

      Thank you! Glad you liked!

  • @coding_den
    @coding_den Год назад +1

    Helll yeahh. Dope vid

  • @codingwalnut572
    @codingwalnut572 Год назад +3

    How do web workers communicate with the Database?

    • @guibibeau
      @guibibeau  Год назад +2

      That will depend on your data base! They have a native integration with cloudflare KV.
      For other databases you will have to look for ones that support http request. Here are some I know:
      - Postgres -> supabase
      - redis -> upstash

  • @gachecem_yt
    @gachecem_yt 2 месяца назад +4

    Does this means i can host a full stack website directly thro cloudflare?

    • @guibibeau
      @guibibeau  2 месяца назад +1

      You could yes! It would require a bit of adapting your code but it's 100% possible.

    • @gachecem_yt
      @gachecem_yt 2 месяца назад +1

      @@guibibeau I will look into it, I still have to develop an e commerce store, I have to find a good payment process provider hopefully one that charges less % then stripe

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

      @@gachecem_yt I'm working on an update to that video that goes a bit deeper. I think it should land by end of week next week.
      Not sure about stripe since they acquired lemon squeezy, not many options are left.

  • @PurrfectlyChaotic
    @PurrfectlyChaotic Год назад +2

    nice video and nice explanation, thank you very much

  • @TerciaNzila-ue3ek
    @TerciaNzila-ue3ek 2 месяца назад

    What servewould recommended for a small gouv business?

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

      I can't answer this in 1 comment but I can give you cues to guide your search:
      - The technology stack you will use. Are you limited by the constraints of the the gov organisation?
      - Will you need a long running server as opposed to serverless?
      - Do you have a devops team already that has some preference?
      Based on this I would say my recommendation would be to use Vercel if your constraint allow you. If they don't I would do either aws or cloudflare.

  • @akihokokurosaki
    @akihokokurosaki Месяц назад +1

    how hard is it to port nodejs application into workers?

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

      In general workers have a more limited runtime with limited support for node.js NPM packages. So anything that depends on node.js standard library will have some trouble. You will have to stick to packages that were built for workers or use standard vanilla JS code. Here's a bit what the process would look like:
      1. eliminate any library that uses Node.js standard library
      2. migrate to a framework and runtime that supports workers. Something like hono.js. Express could work with some adaptation
      3. Test your application into workers
      4. Do a blue/green deployment for the first few days before deprecating your node.js deployment
      On a small app it's a few days. For a corporate production app it's months

  • @ThinkGreyExplains
    @ThinkGreyExplains Год назад +1

    Thanks subscribed !

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

    Why are you using the Hyper terminal? It is the worst terminal

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

      Stockholm syndrome as I was used to it😵‍💫. I actually changed recently to something more modern.

  • @suprith777
    @suprith777 8 месяцев назад +1

    can i get the wrangler.toml file

    • @guibibeau
      @guibibeau  7 месяцев назад

      Sorry got getting to this so late. The video was filmed over a year ago and there were a lot of updates to wrangler and workers. I would advise getting something more recent instead