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.
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
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
@@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
@@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.
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.
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
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
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.
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
@@guibibeau, take it up ❤❤
wow! this video is so good! I am getting better the more I watch his videos!
Thank you! Glad you liked!
Helll yeahh. Dope vid
How do web workers communicate with the Database?
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
Does this means i can host a full stack website directly thro cloudflare?
You could yes! It would require a bit of adapting your code but it's 100% possible.
@@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
@@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.
nice video and nice explanation, thank you very much
You are welcome!
What servewould recommended for a small gouv business?
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.
how hard is it to port nodejs application into workers?
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
Thanks subscribed !
Why are you using the Hyper terminal? It is the worst terminal
Stockholm syndrome as I was used to it😵💫. I actually changed recently to something more modern.
can i get the wrangler.toml file
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