Leetcode Coding Challenge Using Lambda

Leetcode Coding Challenge Using Lambda

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.

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

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Adding Code to AWS Lambda, Lambda Layers, and Lambda Extensions Using Docker

Adding Code to AWS Lambda, Lambda Layers, and Lambda Extensions Using Docker. With Docker, we have three ways to add code to Lambda that isn’t directly part of our Lambda function. Try to AWS Lambda, Lambda Layers, and Lambda Extensions Using Docker.

Serverless with AWS

Serverless is a great approach to build highly scalable applications quickly with mentioned services. When AWS launched Lambda back in 2014, the whole new concept of Serverless evolved. It became one of the most successful services from AWS today. It is the right time to learn Cloud computing as a developer.

Serverless Express – Easy APIs On AWS Lambda & AWS HTTP API

Serverless Express enables you to easily host Express.js APIs on AWS Lambda and AWS HTTP API. Here is how to get started and deliver a Serverless Express.js based API with a custom domain, free SSL certificate and much more!

Serverless Proxy with AWS API Gateway and AWS Lambda

Serverless Proxy with AWS API Gateway and AWS Lambda. We can communicate between Public and Private instance via a Serverless Proxy thanks to AWS Api Gateway and AWS Lambda. Github Webhook calls a Public API Gateway, API Gateway triggers a Lambda attached to VPC.

Accessing AWS DynamoDB through Apollo GraphQL Server deployed in AWS Lambda through Server

Accessing AWS DynamoDB through Apollo GraphQL Server deployed in AWS Lambda through Serverless. Objective: Fetch all records of a DynamoDB table through a GraphQL lambda function. Technologies used: AWS DynamoDB, AWS Lambda, AWS IAM, Serverless, Apollo Graphql.