Added a nestJS based contract api

- Added an example with trucks and basic fetch in useEffect on page load
  - Added simply test to see whether any data is displayed (and shows the interceptor)
Introduced "CypressStrictMode" which wraps React.StrictMode and checks whether Cypress is involved, if so disable StrictMode.
This commit is contained in:
2022-08-15 11:42:19 +02:00
parent c0a0ea66a6
commit 3db77f96b9
31 changed files with 15567 additions and 35 deletions

View File

@@ -1,6 +1,12 @@
const defaultConfig = {
version: "0.1.0",
name: "React-starter-kit",
services: {
fake: {
root: "http://localhost:9600/fake",
trucks: "trucks",
},
},
// oidc: {
// url: "private_url",
// realm: "inforit",

View File

@@ -11,7 +11,8 @@
"home": "home",
"about": "about",
"counter": "counter",
"tenders": "tenders (with auth)"
"tenders": "tenders (with auth)",
"trucks": "trucks (contract api)"
},
"about": {
"title": "About"

View File

@@ -11,7 +11,8 @@
"home": "home",
"about": "over ons",
"counter": "teller",
"tenders": "aanbestedingen (met auth)"
"tenders": "aanbestedingen (met auth)",
"trucks": "trucks (contract api)"
},
"about": {
"title": "Over ons"