+0
Daily
5,897
stars
572
forks
193
watchers
27,169
prs
2,165
issues
0
releases
README
Frontend The backend of the Guardian website frontend. For everybody who engages with our journalism, theguardian.com is an industry-best news website that is fast, accessible and easy to use. Unlike other ways of developing products, ours puts the audience first. Frontend is a set of Play Framework 2 Scala applications. It is built in two parts, using make for the client side asset build and SBT for the Play Framework backend. Frontend's responsibility is to build JSON to pass to the modern rendering service, Dotcom Rendering. Core Development Principles (lines in the sand) These principles apply to all requests on www.theguardian.com and api.nextgen.guardianapps.co.uk (our Ajax URL) - Every request can be cached and has an appropriate Cache-Control header set. - Each request may only perform one I/O operation on the backend. (you cannot make two calls to the content API or any other 3rd party) - The average response time of any endpoint is less than 500ms. - Requests that take longer than two seconds will be terminated. Documentation All documentation notes and useful items can be found in the docs folder. New developers Welcome! How to set up and run frontend. To get set up, please follow the installation guide. Fixes for common problems can be found here. Please read the development tips document to learn about more about development process. For our deployment process, see how to deploy.
Top issues
#18841Snippets atom rendering is too slow12 comments · 2018-01-12#9089Byline and co. invisible under showcased embed10 comments · 2015-05-02#25491Are we still using Formstack?7 comments · 2022-09-15#13333Missing itemprop meta-data on some pages5 comments · 2016-06-17#12216Lightbox is requesting too big images. Lightbox is requesting too small images.5 comments · 2016-03-09#27143Facia: Decommission `/lite.json` endpoint & `renderFrontJsonMinimal()`, reduce memory consumption4 comments · 2024-05-14#26977Mixed TZ in live blog4 comments · 2024-03-19#20295Issue with the recipe4 comments · 2018-09-06