guardian / guardian/dotcom-rendering

Frontend <=> DCR API And Model Overhaul

Open
#8,432 0 comments 0 reactions 2 assignees Claimed by @JamieB-gu View on GitHub
Team Candidate: WebX
Dominant language
TypeScript
Stars
274
Forks
34
Avg merge
2d 22h
Merged PRs (30d)
121

Description

We'd like to run this as a project within the WebX team at some point.

## Description

### Current Situation

TODO: Add summary of how the JSON frontend <-> DCR API currently works.

### Proposal

TODO: summary to be written up further:

- Thrift API models, similar to https://github.com/guardian/apps-rendering-api-models
- CAPI models directly in DCR
- Internal DCR data model parsed from these models

## Benefits

TODO: to be written up further:

1. Prevents bugs with updates required/optional properties - 500 error
2. Benefit 2

## Work So Far

- The frontend PR: https://github.com/guardian/frontend/pull/25843
- The DCR PR: #7007

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.