I am a big fan of leet code so when we decided to have a code challenge in our team I thought it wouldn’t be a bad idea to build one which should include pretty basic functionalities like:
- Ability to register and sign in to the application
- Present the problem (questions)
- Provide an interface for the end-users to write, compile and execute code.
Overall, it was an amazing learning experience and I am happy to walk through how I did it.
Guidelines
Before I start working on this I decided to come up with some guidelines so I don’t over-engineer this and end up building a Frankenstein out of it, here are few of those guidelines:
- The whole system should be implemented in 3 to 4 days
- Reuse as much as you can when it comes to technology or service. DON’T build anything new unless until it doesn’t exist
- ZERO standing cost for the infrastructure. Pay ONLY for what you use and pay as MINIMAL you can
Technologies & Runtime Services
- Bootstrap + JQuery (UI)
- AWS Lambda
- AWS API Gateway
- AWS Dynamodb
- AWS Dynamodb streams
- AWS Simple email service (SES)
- AWS S3 (For static site hosting)
#aws #code-challenge #serverless-computing #serverless #dynamodb #compiler #aws-lambda #leetcode