Skip to content

suhas-developer07/serverless-backend-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Severless Backends

"Serverless" is a backend deployment in which the cloud provider dynamically manages the  allocation  and provisioning of servers. The term "serverless" doesn't mean there are no servers   involved. Instead, it means that developers and operators do not have to worry about the servers.

When should you use a serverless architecture?

1. When you have to get off the ground fast and don’t want to worry about deployments
2. When you can’t anticipate the traffic and don’t want to worry about autoscaling
3. If you have very low traffic and want to optimise for costs

To Initialize the Worker setup

 npm create cloudflare -- my-app

Problem

Cloudflare does not expect a routing library/http server out of the box.

Deploying to internet

npx wrangler login : this will does the authentification to your cloudeflare account
npm run deploy  : this single command does the deploy your application to over internate 

Adding express to it

becouse of this hono and lot of other libraries came into the picture 
npm create hono@latest my-app

deployed link

https://my-app.sharmasuhas22.workers.dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published