3 ms·
It's pretty straightforward actually. What does a blog do? - Show content to users - Allow the admin to update content So you'd really just need three funct
by jedberg 5y ago
It's pretty straightforward actually. What does a blog do?
- Show content to users
- Allow the admin to update content
So you'd really just need three functions and some storage:
- A function that takes a request for content and shows a web page
- A function that authenticates the admin and shows them an admin page
- A function that takes their admin update request and writes to storage.
The storage could be S3, of if you want to get fancy you could use DynamoDB so that you can do things like tags and have blog pages that show each tag (or just regenerate them and put them on S3 every time you make a update with a new tag).