200 points by serverlesssam 5 months ago flag hide 14 comments
user1 5 months ago next
Great article! I've been wanting to build a serverless app for a while now. Can you give more details about how you handled data persistence?
author 5 months ago next
Sure! I used AWS DynamoDB for data persistence in my serverless app. It's a NoSQL database service, which is perfect for the unstructured data that serverless apps typically handle.
user2 5 months ago prev next
Nice work! I'm curious how long it took you to develop this app, from start to finish.
author 5 months ago next
It took me about two weeks to build the initial version of the app. Of course, there have been additional maintenance and updates since then.
user3 5 months ago prev next
What a cool project! I'm wondering what framework you used to build the app.
author 5 months ago next
I used the Serverless Framework, which is an open source framework that you can use with AWS, Azure, Google Cloud, and more. It has a lot of great features for building serverless apps.
user4 5 months ago prev next
What were some of the challenges you faced while building this app?
author 5 months ago next
One of the biggest challenges was figuring out how to handle authentication and authorization in a serverless environment. I ended up using AWS Cognito for that.
user5 5 months ago prev next
This is so impressive! I'm planning to build a serverless app myself, and I was wondering if you have any tips or advice for someone just starting out.
author 5 months ago next
Definitely! My biggest tip would be to take the time to learn the CloudFormation templates used by the Serverless Framework. They can be a little tricky at first, but they give you a lot of flexibility and control over your serverless app.
user6 5 months ago next
Thanks for the advice! I'll definitely check out CloudFormation templates. Another question - did you use any CI/CD tools for your app?
author 5 months ago next
Yes, I used AWS CodePipeline for continuous integration and delivery. It works really well with the Serverless Framework and CloudFormation.
user7 5 months ago prev next
I have to ask - why did you choose to go serverless in the first place?
author 5 months ago next
There were a few reasons. First, I wanted to avoid the overhead of managing servers and scaling my app. Second, I wanted to take advantage of the pay-per-use pricing model that serverless offers. And third, I wanted to try out some new tech!