Next.js vs Encore.ts - When should you NOT use Next.js for Backend?

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ม.ค. 2025

ความคิดเห็น •

  • @JoseKoufalis
    @JoseKoufalis 20 วันที่ผ่านมา +6

    I've only recently discovered encore, so far I'm impressed by what it has to offer. Looking forward to using it on a production app soon

    • @encoredev
      @encoredev  20 วันที่ผ่านมา +3

      If you need any help, join our Discord community: encore.dev/discord

  • @ibnurasikh
    @ibnurasikh 19 วันที่ผ่านมา +5

    Wow, this landed at exactly the time I needed it! Please make a video on deployment, especially for self-hosted deployments.

    • @encoredev
      @encoredev  19 วันที่ผ่านมา +1

      We'll take a look! For now here's the docs: encore.dev/docs/ts/self-host/build

  • @alimammadli6915
    @alimammadli6915 17 วันที่ผ่านมา +4

    Great job! 🤩 Thanks Encore team for such an absolutely incredible framework! 👏 It's a game changer for Javascript/Typescript backend! 🔥

    • @encoredev
      @encoredev  17 วันที่ผ่านมา

      Thanks, appreciate the support!

  • @kmmadhu1280
    @kmmadhu1280 20 วันที่ผ่านมา +4

    I cannot wait to use this for building applications!!! 🔥🔥

    • @encoredev
      @encoredev  20 วันที่ผ่านมา

      Go for it!

  • @Disorrder
    @Disorrder 17 วันที่ผ่านมา +1

    performance chart looks so promising!

  • @aghileslounis
    @aghileslounis 18 วันที่ผ่านมา +2

    Incredible framework! The design choices to make a very easy to use paradigm without loosing scalability are very smart!
    The complete opposite to "EffectTS" library 😅which makes everything 100x harder

  • @fe_labs
    @fe_labs 19 วันที่ผ่านมา +3

    I hope in the future there will have videos that collab with Nuxt.js ♥ Great video btw!

    • @encoredev
      @encoredev  19 วันที่ผ่านมา +1

      Thanks for the suggestion!

  • @TSlova
    @TSlova 20 วันที่ผ่านมา +2

    This is really helpful, thanks!

  • @AdamR-s7j
    @AdamR-s7j 16 วันที่ผ่านมา +3

    Laravel like DX for typescript? 🍾😍

  • @andersondamasceno1356
    @andersondamasceno1356 10 วันที่ผ่านมา

    I love the Ts/Go support, the two languages I am interested in learning.

  • @innovatorshome
    @innovatorshome 18 วันที่ผ่านมา +2

    Hey i have a lot of my project's backend api built by the nextjs using the approuter, I recently find out Encore, How long does it takes to switch my all api to the encore. Is it worth doing so?. It will be great if encore team build some cli tool to migrate all this with in a second.

    • @encoredev
      @encoredev  17 วันที่ผ่านมา

      You could try using an LLM for that! We don't have a Nextjs guide yet, but here's one for Express -> Encore that could be helpful as a reference: encore.dev/docs/ts/migration/express-migration

  • @shaked1233
    @shaked1233 13 วันที่ผ่านมา +2

    this looks promising

  • @jatiquep5543
    @jatiquep5543 19 วันที่ผ่านมา +5

    The best news after payload 3.0 ..the future is brighter than i thought.... let me go and tell me friends who says I'm a fullstack dev but only frontend because i use nextjs 😂😂

  • @ramonmalcolm6273
    @ramonmalcolm6273 13 วันที่ผ่านมา

    How do you build the Dockerfile from a ci cd pipeline?

  • @filipniklas
    @filipniklas 19 วันที่ผ่านมา

    How does it work deploying this? Say I self-host nextjs using docker, will I need an additional container for Encore?

  • @emirium
    @emirium 20 วันที่ผ่านมา +1

    I find Encore pretty robust and want to make it my default for pretty much any backend, but, I find development experience kinda difficult with local dashboard when I update services and handlers. Dashboard (API docs) doesn't update even if I restart app from terminal

    • @encoredev
      @encoredev  19 วันที่ผ่านมา +1

      Thanks for reporting, that's a bug! If you're able to share more details of your setup, please email us at hello@encore.dev or we can chat on Discord: encore.dev/discord

  • @moneyfr
    @moneyfr 18 วันที่ผ่านมา +1

    Is there a chanel that provide Full course ?

    • @encoredev
      @encoredev  17 วันที่ผ่านมา +1

      There are a few tutorials in the docs: encore.dev/docs with more on the way!

  • @hugodsa89
    @hugodsa89 16 วันที่ผ่านมา

    Can we please get information on how the performance tests and charts are drawn?

    • @encoredev
      @encoredev  16 วันที่ผ่านมา

      You can find the benchmark code here: github.com/encoredev/ts-benchmarks

  • @devhims
    @devhims 18 วันที่ผ่านมา +1

    can we deploy encore backend on vercel? btw these videos are quite insightful.

    • @encoredev
      @encoredev  18 วันที่ผ่านมา

      Thank you 👍
      No, deployments to Vercel are not possible. Vercel does not support deploying Docker images.

  • @kaisian4940
    @kaisian4940 20 วันที่ผ่านมา

    I tried Encore last weekend. Compared to t3-app, I found it quite tedious. For example, I struggled with client-side API calls, particularly with adding authentication tokens to request headers. Additionally, the TypeScript type definitions don't seem to be shared between Encore and Next.js.

    • @encoredev
      @encoredev  19 วันที่ผ่านมา

      Thanks for sharing! We're looking at making the frontend x backend integration more seamless. Did you use the `encore gen client` functionality to generate the api client for the frontend though? It will give you a type-safe api client to use: encore.dev/docs/ts/cli/client-generation

  • @stefangarofalo3131
    @stefangarofalo3131 16 วันที่ผ่านมา +2

    Great tool

  • @SR-zi1pw
    @SR-zi1pw 20 วันที่ผ่านมา +1

    Can i put this in cloudflare we need less speed then 100ms latency

    • @encoredev
      @encoredev  19 วันที่ผ่านมา +2

      You can deploy anywhere that supports Docker images

  • @haritssyah7434
    @haritssyah7434 18 วันที่ผ่านมา

    Where can I see the source code of this demo?, I don't find it in the description

    • @encoredev
      @encoredev  18 วันที่ผ่านมา

      I haven't uploaded this code anywhere yet but I recommend taking a look at our Encore + Next.js starter (github.com/encoredev/examples/tree/main/ts/nextjs-starter) and our Drizzle example (github.com/encoredev/examples/tree/main/ts/drizzle)

  • @NabinKhanal-ib3uc
    @NabinKhanal-ib3uc 18 วันที่ผ่านมา

    do we need to know node js to get started with encore?

    • @encoredev
      @encoredev  18 วันที่ผ่านมา

      No, not to get started. But to get the most out of it you probably want to learn a bit about how Node.js works (the event loop, npm libraries etc.) just like if you were using any other Node.js framework.
      You can also use the Go version of Encore if you like, that version does not use Node.js.

    • @encoredev
      @encoredev  18 วันที่ผ่านมา

      Also, you can join the Encore community on Discord if you want to get some help while getting started: encore.dev/discord

  • @greendsnow
    @greendsnow 19 วันที่ผ่านมา

    I was using pocketbase. How do we handle oauth with this?

    • @encoredev
      @encoredev  18 วันที่ผ่านมา

      Encore has nice support for auth flows. To do anything related to auth with Encore you add an Auth handler to you application, which acts like a middleware. All requests to auth endpoints has to pass through the auth handler.
      We have a few auth examples, like integrating with Auth0 and Clerk. Read more in our docs: encore.dev/docs/ts/develop/auth

  • @samuelopeyemi8377
    @samuelopeyemi8377 17 วันที่ผ่านมา +1

    Does it support mongodb database?

    • @encoredev
      @encoredev  17 วันที่ผ่านมา

      Native support is on the roadmap, but you can still use mongodb as you would normally do. You just won't get any automated provisioning for local development.

  • @fredzgredfred
    @fredzgredfred 18 วันที่ผ่านมา

    I am waiting for a websockets support!

    • @encoredev
      @encoredev  18 วันที่ผ่านมา

      No need to wait! Encore.ts now supports streaming APIs that use WebSockets. And when using the generated request client you even get type-safe WebSocket APIs on your frontend. Read more in our docs: encore.dev/docs/ts/primitives/streaming-apis

  • @wabathur
    @wabathur 19 วันที่ผ่านมา +1

    How about NuxtJS

    • @encoredev
      @encoredev  19 วันที่ผ่านมา

      That works equally well with Encore!

  • @stianmaurstad
    @stianmaurstad 19 วันที่ผ่านมา +1

    Nice!

  • @Channelcustomization832
    @Channelcustomization832 19 วันที่ผ่านมา +1

    Unbelievable

  • @codedusting
    @codedusting 18 วันที่ผ่านมา

    Paid? I see the encore cloud

    • @encoredev
      @encoredev  18 วันที่ผ่านมา +2

      Encore.ts and Encore.go are completely open source and free. When you build your project you get a Docker image that you can deploy anywhere you want, like AWS or DigitalOcean.
      Encore Cloud is optional and helps you to fully automates your infrastructure and DevOps in AWS & GCP.

    • @codedusting
      @codedusting 17 วันที่ผ่านมา

      @encoredev thanks

  • @godofwar8262
    @godofwar8262 19 วันที่ผ่านมา +2

    Sir you came as god for me here i am currently building a youtube clone project in mern stack but want to learn things more in backend thank for introducing with term like cron job and all can you create a discord server please