Building REST API with ElysiaJS, Bun and SQLite - step-by-step tutorial with the source code
HTML-код
- Опубликовано: 11 сен 2024
- Bun, ElysiaJS and SQLite to build REST API - let's look at how to do it in this video. Full step-by-step tutorial to follow along, I hope you will enjoy and learn something useful!
Source code: github.com/and...
If you liked this video and want to support my channel, please consider buying me a coffee ☕. Your contribution helps me create more content like this.
You can donate at:
👉 Ko-fi: ko-fi.com/andr...
👉 Buy Me a Coffee: www.buymeacoff...
I'm truly grateful for your support, and thank you for watching! 🙏
If you liked this video and want to support my channel, please consider buying me a coffee ☕. Your contribution helps me create more content like this.
You can donate at:
👉 Ko-fi: ko-fi.com/andreyfadeev
👉 Buy Me a Coffee: www.buymeacoffee.com/andrey.fadeev
Also please subscribe to my other resources:
👉 Telegram channel: t.me/andreyfadeevchannel
👉 Substack newsletter: andreyfadeev.substack.com/
I'm truly grateful for your support, and thank you for watching! 🙏
I also use IntelliJ for JVM so I am glad to find this tutorial
Андрей. ты красавчик. Продолжай в том же духе. Bun, Elysia, DDD, Clean Architecture самое то 🔥
Спасибо :)
Отличный Английский и отличное видео!
it was very usefull, thanks a lot!
Glad it was helpful!
Which places you recomend to host these files? I started to learn to use elysia, but I didn't find any good content to talk about deployment.
The most straightforward way is to just build a docker image and deploy it to any platform that supports containers, ECS, DO or even any VM with Docker/Docker Compose.
I've also recently deployed a Hono application in the CloudFlare Workers/Pages, think with Hono it's a bit easier than ElysiaJS but for the later it's possible as well.
I'll make video about my experience with Cloudflare wokers and Hono soon!
Please do. Gold must be shared
@@mateusavilaisidoro8305 will do probably in one of the next videos, if you'd like to try it yourself - this guide is really easy to follow and you will have a running app in cloudflare in couple mins: hono.dev/getting-started/cloudflare-workers
what extension are you using to show what is the variable type or when you pass parameters to a function the editor shows what is the parameter passed. what tool is it? i need it in VS code please. Thanks!
Hi, it's JB Idea Ultimate, no extra config, not a VSCode user, so not sure :(
Hi this helped me so much!! Thank u! btw do u use any extension for it to show u the types and all of that, i mean "params:" "path:" "handler:" plsss
Hi, thanks! No I don't use any custom extensions, that's why I get by default in IntelliJ Ultimate for Javascript/Typescript - but I'm afraid it's not available in the Community (free) version (but I'm not 100% sure)
@@andrey.fadeev Oh i see, thanks!
Thank you for the video my friend
Which IDE are you using?
Hi, thanks! It is IntelliJ idea, I have a video on the channel about the setup if you are interested, my it’s mainly focused on the clojure development
Nice, I will take a look
My main language today is clojure =D
Will help me a lot @@andrey.fadeev
I want to know how to config Bun and TypeScript in Intellij IDEA.Could you help me ? Thanks in advance!
Hi, it just works out of the box, but I think the JS/TS plugin is only available in the Ultimate (paid) version :)
You need to change the them of all of your system man it impact a lot on you videos quality. As these are not up to the mark if you could resolve these issue then you will get a lot more attention
is bun multithreaded ??
Hi, not in a way that you expect multithreading to be if you come from JVM for example, but same thing as in node with worker threads: nodejs.org/api/worker_threads.html, bun.sh/docs/api/workers (experimental still).
it's still javascript which is single threaded. you can use worker threads or clustering for "multithreading"
What is your terminal
It is warp
what is bat .tool-versions?
I cannot type it on my wsl.
bat is the same as cat (check the content of a file) you can install that on Linux if you want, but that is not required really
.tool-versions is a file to manage versions of different tools (config used by ASDF/Mise version managers)
If you skip both and just go to Bun website and check how to install Bun the most straightforward way on linux (wsl)
thank you@@andrey.fadeev
This guy is using all the fancy dev tools, Warp terminal, WebStorm IDE, Bun/Elysia - you just need to switch to Arc Browser and your env will be complete
XD, It's IntelliJ Idea actually, I've tried Arc actually and already deleted it, didn't get the hype. At work I'm doing "boring" things like Kafka, Terraform, JVM etc, so I think can have fun as a hobby :)
@@andrey.fadeev ah yeah, IntelliJ and Webstorm are almost one in the same 😅 and that’s interesting about Arc browser - I can’t go back to regular browsers now because Arc makes it so easy for me to organize my 3051 tabs 😂