Git Product home page Git Product logo

cloud-resume-backend's People

Contributors

akandebolaji avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

cloud-resume-backend's Issues

Code review

Epic accomplishment, great work all around. Your Python skills in particular are impressive -- you are one of the only people I've seen make use of DynamoDB's UpdateItem "ADD" operation to incur a maximum of one DynamoDB access per API call. Great work.

Just a few overall code comments as you take your AWS and serverless development skills to the next level:

  • Consider using structured JSON statements as logs -- this makes them easier to search and filter in log analysis platforms. (Very important if you have lots of users hitting your Lambdas!) Here is a great post with some ideas on how to structure Lambda logs: https://theburningmonk.com/2018/01/you-need-to-use-structured-logging-with-aws-lambda/
  • Suggestion: don't give your DynamoDB table a custom name. This removes the ability to update some attributes without replacement in CloudFormation. Instead, let CloudFormation name the table, and pass the generated table name to your function as an environment variable or SSM parameter.
  • Consider initializing your boto resources outside the Lambda handler, in global space - thus, they will only need to be initialized on cold start, which can speed up function performance.
  • As a future improvement, you could check out creating your S3 bucket and CloudFront distribution in CloudFormation and deploying them as part of your front end CI/CD workflow -- that was not a requirement for this challenge, though!

Good luck, and I look forward to sharing your amazing work with the community.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.