/template_micro_frontend_core

Base template for frontend

Primary LanguageTypeScript

Introduction (WIP) Build Status

bcxexa

WebsiteDocs

This is opinionated boilerplate code that aims to meet the requirements set out by our technical architecture team.

  • Independently Maintainable
  • Independently Testable
  • Independently Deployable
  • Starter Pack
  • Local Debugging
  • Portable
  • Traceable
  • Documented
  • Cost Effective

Todo

  • WAF
  • Write Unit Tests
  • Buildspec

Getting Started

Initial Setup

Pre-Requisites & Notes

  • You need a domain registed using Route53 in the same AWS account for this to work.
  • Update config in cicd/env
    • Hosted Zone ID
    • website URL
    • Cloudfront Secret(Can be put in secret Manager)

Configure your serverless to use correct AWS profile

serverless config credentials --provider aws --key <YOURKEY> --secret <YOURSECRET> --profile <PROFILENAME>

Install Packages

npm install -g serverless
npm install -g @ionic/cli
npm install

Test Locally

npm run start

Deployment

npm run deploy:dev
npm run deploy:uat
npm run deploy:prod