MOVING TO

THE MONOREPO

FOR CROWDICITY

Goals

  • Improve developer experience
  • Build features faster
  • Hook into existing tooling used at Medallia
  • Alchemy design
  • Mobile (Fully responsive)

Prepare Crowdicity application

for future development

Team

Dylan

With some help from

  • Tommy
  • Jon
  • JR
  • Steve

What this is about

  • What is it?
  • Goals
  • Benefits
  • How it works
  • Workflow

WHAT IS IT?

A Git Repository that consolidates our multiple projects.

API4

DASHBOARD

MOBILE

FRONTEND

(Alchemy)

MAIN APP

MIRP

Where is it?

The "One" name comes from our consolidation effort and the start of a new version of the app.

We can rename it!

 

Let's see it.

BENEFITS

  • Github Integration
  • Better Git Workflow
  • Jira Integrations
  • Feature Development
  • Solid foundation with Magic

Hello Github

Automated checks

Code Reviews

Build status, bundle size, code coverage, test results, linting, mergability

Branch updates &

squash and merge

FLAT TREE

Easy reverting

Single tree branch

Commit conventions

JIRA INTEGRATION

See Branches, Commits, and Pull Requests and their Status

EASY FEATURE DEVELOPMENT

One Pull Request for each feature even if it expands across multiple applications (Change to API4, Dashboard, and Mobile)

MAGIC INTEGRATION

yarn start 

Starts all required services (and restarts them appropriately) in development.

yarn test 

Runs tests across projects, see if your API4 change broke something in Dashboard. Path towards writing browser/functional tests.

  • ​Modern webpack+babel, along with the benefits of them, such as smaller bundle size.

  • Moving to TypeScript easily

  • Catch silly bugs using Linting

HOW WILL THIS WORK

git clone git@github.medallia.com:Crowdicity/crowdicity-one.git

git checkout -b your-branch

rsync --exclude={'node_modules','package.json','package-lock.json',
'yarn.lock'} -a /var/api4/ packages/api4/

Get your feature/work into the monorepo:

NEXT STEPS

  • Account for multiple Jenkins scripts
  • Fully support dashboard to DeployHQ
  • Plan transition

What do you think?

Questions?

Moving to Mono

By Tommy Marshall

Moving to Mono

  • 1,155