-
- Downloads
Now the app can get or handle the records using rest api. localhost:3000/films
Showing
- dist/App.js 28 additions, 0 deletionsdist/App.js
- dist/index.js 19 additions, 0 deletionsdist/index.js
- package-lock.json 880 additions, 5 deletionspackage-lock.json
- package.json 8 additions, 1 deletionpackage.json
- src/App.test.tsx 0 additions, 9 deletionssrc/App.test.tsx
- src/App.ts 41 additions, 0 deletionssrc/App.ts
- src/App.tsx 0 additions, 26 deletionssrc/App.tsx
- src/controllers/films.controllers.ts 44 additions, 0 deletionssrc/controllers/films.controllers.ts
- src/controllers/index.controllers.ts 6 additions, 0 deletionssrc/controllers/index.controllers.ts
- src/database.ts 14 additions, 0 deletionssrc/database.ts
- src/index.css 0 additions, 13 deletionssrc/index.css
- src/index.ts 8 additions, 0 deletionssrc/index.ts
- src/index.tsx 0 additions, 17 deletionssrc/index.tsx
- src/interfaces/Films.ts 10 additions, 0 deletionssrc/interfaces/Films.ts
- src/logo.svg 0 additions, 1 deletionsrc/logo.svg
- src/reportWebVitals.ts 0 additions, 15 deletionssrc/reportWebVitals.ts
- src/routes/films.routes.ts 18 additions, 0 deletionssrc/routes/films.routes.ts
- src/routes/index.routes.ts 10 additions, 0 deletionssrc/routes/index.routes.ts
- src/setupTests.ts 0 additions, 5 deletionssrc/setupTests.ts
- tsconfig.json 4 additions, 3 deletionstsconfig.json
dist/App.js
0 → 100644
dist/index.js
0 → 100644
... | ... | @@ -6,18 +6,25 @@ |
"@testing-library/jest-dom": "^5.14.1", | ||
"@testing-library/react": "^11.2.7", | ||
"@testing-library/user-event": "^12.8.3", | ||
"@types/express": "^4.17.13", | ||
"@types/jest": "^26.0.24", | ||
"@types/morgan": "^1.9.3", | ||
"@types/node": "^12.20.28", | ||
"@types/react": "^17.0.28", | ||
"@types/react-dom": "^17.0.9", | ||
"express": "^4.17.1", | ||
"morgan": "^1.10.0", | ||
"mysql2": "^2.3.0", | ||
"nodemon": "^2.0.13", | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2", | ||
"react-scripts": "4.0.3", | ||
"ts-node": "^10.3.0", | ||
"typescript": "^4.4.3", | ||
"web-vitals": "^1.1.2" | ||
}, | ||
"scripts": { | ||
"start": "react-scripts start", | ||
"start": "nodemon src/index.ts --exec ts-node", | ||
"build": "react-scripts build", | ||
"test": "react-scripts test", | ||
"eject": "react-scripts eject" | ||
... | ... |
src/App.test.tsx
deleted
100644 → 0
src/App.ts
0 → 100644
src/App.tsx
deleted
100644 → 0
src/controllers/films.controllers.ts
0 → 100644
src/controllers/index.controllers.ts
0 → 100644
src/database.ts
0 → 100644
src/index.css
deleted
100644 → 0
src/index.ts
0 → 100644
src/index.tsx
deleted
100644 → 0
src/interfaces/Films.ts
0 → 100644
src/logo.svg
deleted
100644 → 0
src/reportWebVitals.ts
deleted
100644 → 0
src/routes/films.routes.ts
0 → 100644
src/routes/index.routes.ts
0 → 100644
src/setupTests.ts
deleted
100644 → 0
Please register or sign in to comment