Skip to content

Tech stack ​

Luna is a full-stack Javascript project with a React front-end and a Typescript / NodeJS back-end, all hosted on AWS. We use the following technlogies:

  • Lambda - our backend utilises AWS Lambda for a compute service, these lambdas provide our REST API endpoints in the Command-Query pattern described in the Architecture Principles

  • DynamoDB - all our services currently use the non-relational DynamoDB as their database

  • Cloudwatch - the standard AWS service used to collect monitoring and operational data in the form of logs and metrics, and visualizes these on dashboards

  • S3 - we use S3 as a storage service for things like documents, as well as hosting the files for our static sites

  • SNS / SQS - our asynchronous platform communications use SNS and SQS - event emitters will fire a message onto SNS topics, whilst services interested in listening to these events will have their SQS queue wired up to receive the SNS topic messages

FrontEnd Technologies ​

  • JavaScript: The project is primarily written in JavaScript. You should have a good understanding of JavaScript fundamentals, ES6+ features, and asynchronous programming (Promises, async/await).
  • React: The project uses React for building the user interface. Knowledge of React concepts such as components, hooks, and context is necessary.
  • Redux: The project uses Redux for state management. Understanding how to create actions, reducers, and how to use the Redux toolkit is important.
  • Testing: The project uses testing libraries like @testing-library/react and vitest. Familiarity with writing unit tests and understanding testing concepts is required.
  • Vite: The project uses Vite as a build tool. Understanding how to use Vite and its configuration is necessary.
  • Yarn: This is the package manager used across the project. Knowledge of how to install and manage packages with Yarn is required.
  • CSS-in-JS: The project uses Emotion (a CSS-in-JS library). Understanding how to style components using CSS-in-JS is useful.
  • Node.js: As a JavaScript project, a basic understanding of Node.js and its environment is required.
  • TypeScript: All BE services are written in Typescript. The main luna-front-end app is JavaScript/JSX only; most microfrontends are written in TypeScript from the start (the exception is stable-apps-mfa, which is still predominantly JavaScript/JSX)

BackEnd Technologies ​

  • AWS CloudFormation: Understanding of AWS CloudFormation to manage and provision AWS resources using YAML or JSON files.
  • AWS Services: Familiarity with various AWS services such as Lambda, DynamoDB, CloudWatch, S3, SNS, SQS, and AWS Certificate Manager.
  • AWS Serverless Application Model (SAM): Knowledge of AWS SAM for building and deploying serverless applications.
  • Node.js: Basic understanding of Node.js and its environment as the service uses Node.js runtime.
  • JavaScript: Understanding of JavaScript fundamentals, ES6+ features, and asynchronous programming (Promises, async/await).
  • YAML: Familiarity with YAML syntax as the service configuration is written in YAML.
  • AWS IAM: Understanding of AWS Identity and Access Management (IAM) to manage access to AWS services and resources.
  • AWS CloudWatch Logs: Knowledge of how to use AWS CloudWatch Logs for monitoring, storing, and accessing log files.
  • AWS DynamoDB: Understanding of how to use DynamoDB, a NoSQL database service, for storing data.
  • AWS SNS and SQS: Familiarity with Simple Notification Service (SNS) for pub/sub messaging and Simple Queue Service (SQS) for decoupling and scaling microservices, distributed systems, and serverless applications.
  • AWS Kinesis Firehose: Understanding of how to use Kinesis Firehose for reliably loading streaming data into data lakes, data stores, and analytics services.
  • AWS Lambda: Knowledge of how to use AWS Lambda to run code without provisioning or managing servers.
  • Testing: Familiarity with writing unit tests and understanding testing concepts.
  • Version Control with Git: Understanding of how to use Git for version control.

Rationale ​

The technologies we have used on Luna were chosen for specific reasons:

  • We have aimed for a generally uniform stack across the platform - allowing developers to work across all the services within the platform
  • We have utilised JavaScript on both the front-end and back-end - allowing our developers to complete vertically-sliced tickets
  • We chose AWS Lambda which requires no provisioning or managing of servers - since Platform team did not have any dedicated Devops roles
  • We picked DynamoDB for our database - providing flexibility to data model changes and strong performance at scale (if used correctly)

New Technologies ​

This does not mean, however, that we are wedded to our current choices. Indeed, if there are good reasons to use alternative solutions, and there is consensus amongst the maintainer team, we are open to introducing new technologies.

Made with ❤️ by the Luna team