apex / up

Deploy infinitely scalable serverless apps, apis, and sites in seconds to AWS.
https://up.docs.apex.sh
MIT License
8.79k stars 377 forks source link

Larger examples #73

Open tj opened 7 years ago

tj commented 7 years ago

Some ideas:

Might make the relevant ones part of the up "suite", especially stuff like Cognito which could use a layer of UX. Plenty of nice tools can be built off the AWS primitives without too much effort.

digitalronin commented 7 years ago

I'd love to see an example of something like a web application talking to redis (elasticache) or RDS.

kaihendry commented 7 years ago

RE Photo site, I have an Up powered one here: https://github.com/kaihendry/lk Needs some TLC, and tbh I use it more locally than remotely.

Minimalist blog sounds good. But... that could just well be a static site right? Maybe documenting the work flow better for static is a good idea nonetheless. Dealing with S3+CF is such a pain.

https://github.com/apex/gh-polls seems like a "Larger app" that's not linked from https://github.com/apex/up-examples/ :thinking:

vespertilian commented 6 years ago

Sample app idea

Reasoning:

When I was looking at what I needed in my “Serverless” tech stack one of the conclusions I came to, was that I need to store sessions somewhere, and Redis seems to be the a good choice. So as @digitalronin suggested I also think an example with Elastic-Cache would be worthwhile.

I would go further however and also include an EC2 docker instance of any other database (Postgres, MySQL). This would be in addition to the Elastic-Cache instance. Even though Postgres and MySQL are both available managed, some databases are not (I plan on using DGraph). So this highlights how you could use any other db Cassandra, Riak, Rethink.

komuw commented 6 years ago

I have an example project here-> https://github.com/komuw/ussd-lambda

It is an USSD application, that I've written in python3 using Django web framework. It stores the USSD sessions in dynamoDB; https://github.com/komuw/ussd-lambda/blob/master/dynamoSessions.py