re: Build a RESTful API with the Serverless Framework VIEW POST


Oh, and one other thing: Is it possible to use mongoose+MongoDB instead of mysql+MySql? Any downside there?

If you were to use GraphQL, would that be instead of mysql?


For simplicity I choose MySQL but you can use any NOSQL database. There is single downside that for aws doesn't provide mongodb. If want to use mongodb then you have run ec2 instance for the same.


Check out mlab.com where you can run MongoDB in Serverless fashion. There is a free tier for running a single node MongoDB.

Wow!! It's good. I know that AWS Aurora provides serverless SQL engine. If MongoDB, providing serverless then its too good. Thanks for information.

Lambda + Cloud Atlas is a pretty good stack.

Hey Erick, I have not tried Cloud Atlas before it will be good if you send an email any link or reference for the same.

Hey Sagar, Sure I'll sent you an email.

Erick, I haven't not received email. You can DM me.


Magnus I'm working right now in a project using the serverless framework, you can use mongoose+MongoDB (Cloud Atlas in my case) without any problems, what I like a lot about the serverless framework features is that you can handle a lot of cases in my case I'm working in a public API so you can configure custom authorizers and CORS management / rules. its very flexible framework.


Great, thanks for sharing Erick. I look forward to trying it.

code of conduct - report abuse