Skip to content

Hganavak/hub-stack

Repository files navigation

ResearchHub Stack (monorepo)

Contains the complete Research Hub, stack being developed for migration to AWS and Contentful.

Stack Components

This repository contains the 4 projects comprising the AWS version of the ResearchHub stack.

The front end for the Research Hub, built with Angular and Angular Material.

An Apollo GraphQL server used to proxy and authorise requests sent from research-hub-web to Contentful the external data sources.

A Serverless Framework (AWS Lambda) function that interacts with ResearchHub's ElasticSearch instance.

Terraform infrastructure as code to create the Research Hub AWS infrastructure.

Deployment

CI/CD is achieved via the monorepo's Jenkinsfile which is triggered when code is pushed to one of 4 Git branches (sandbox, dev, test, prod) corresponding to environments across the three UoA AWS accounts (sandbox, nonprod, prod).

Pushing to any branch prefixed with sandbox-, e.g. sandbox-sam will also trigger a deploy to sandbox. Pushing to any branch prefixed with dev-, e.g. dev-sam will also trigger a deploy to dev. However, test and prod deploys will ONLY be triggered by a push to the test or prod branch respectively.

NOTE: The sandbox account is only for temporary usage. All resources created in sandbox should be destroyed when no longer needed.

Architecture Overview

Architecture Overview

Development Journey

Development Journey

About

Large monorepo I created for an Angular-based website that I was Technical Lead of from 2018-2021.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published