File tree Expand file tree Collapse file tree 1 file changed +7
-11
lines changed
dotcom-rendering/docs/development Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -6,20 +6,16 @@ production build locally.
66To do this:
77
88 $ make build
9- $ node dist/server.js
9+ $ make ci
1010
11- _ Note, you will need AWS ` frontend ` credentials to run the service. _
11+ The PROD server should start on its default port 9000.
1212
13- You can then use the provided GET endpoints for testing:
13+ You can then use the provided POST endpoints for testing e.g. :
1414
1515 /Article
16- /AMPArticle
16+ /Front
1717
18- Similar to the dev server, both endpoints support a ` url ` parameter to customise
19- the article used. E.g.
18+ Unlike the DEV server, the DCAR PROD server does _ not_ implement GET endpoints.
2019
21- GET /Article/https://www.theguardian.com/my-test-article.
22-
23- _ Note, PROD Frontend doesn't use these endpoints. Instead, it ` POSTs ` data to
24- DCR and receives a JSON response. A tool like Postman can help if you want to
25- replicate this exactly._
20+ As in production, it expects the Frontend JSON data model to be
21+ ` POSTed ` to DCAR.
You can’t perform that action at this time.
0 commit comments