├── README.md ├── backend ├── .gitignore ├── app.js ├── configs │ └── db.js ├── controllers │ ├── AuthorsController.js │ └── BooksController.js ├── db.sql ├── package-lock.json ├── package.json ├── routes │ └── index.js └── server.js └── frontend ├── .eslintrc.cjs ├── .gitignore ├── README.md ├── db.json ├── index.html ├── package-lock.json ├── package.json ├── postcss.config.js ├── public ├── ss │ ├── authors.png │ ├── books.png │ └── dashboard.png └── vite.svg ├── src ├── App.css ├── App.tsx ├── AuthorsPage.tsx ├── BooksPage.tsx ├── ErrorPage.tsx ├── assets │ └── react.svg ├── components │ ├── AddEditAuthorModal.tsx │ ├── AddEditBookModal.tsx │ ├── AuthorCreateEditForm.tsx │ ├── BookCreateEditForm.tsx │ ├── DeleteAuthorModal.tsx │ ├── DeleteBookModal.tsx │ ├── IconDelete.tsx │ ├── IconEdit.tsx │ ├── IconView.tsx │ ├── ViewAuthorModal.tsx │ └── ViewBookModal.tsx ├── index.css ├── main.tsx ├── models │ ├── Author.ts │ └── Books.ts └── vite-env.d.ts ├── tailwind.config.js ├── tsconfig.json ├── tsconfig.node.json └── vite.config.ts /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/README.md -------------------------------------------------------------------------------- /backend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/backend/.gitignore -------------------------------------------------------------------------------- /backend/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/backend/app.js -------------------------------------------------------------------------------- /backend/configs/db.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/backend/configs/db.js -------------------------------------------------------------------------------- /backend/controllers/AuthorsController.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/backend/controllers/AuthorsController.js -------------------------------------------------------------------------------- /backend/controllers/BooksController.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/backend/controllers/BooksController.js -------------------------------------------------------------------------------- /backend/db.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/backend/db.sql -------------------------------------------------------------------------------- /backend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/backend/package-lock.json -------------------------------------------------------------------------------- /backend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/backend/package.json -------------------------------------------------------------------------------- /backend/routes/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/backend/routes/index.js -------------------------------------------------------------------------------- /backend/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/backend/server.js -------------------------------------------------------------------------------- /frontend/.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/.eslintrc.cjs -------------------------------------------------------------------------------- /frontend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/.gitignore -------------------------------------------------------------------------------- /frontend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/README.md -------------------------------------------------------------------------------- /frontend/db.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/db.json -------------------------------------------------------------------------------- /frontend/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/index.html -------------------------------------------------------------------------------- /frontend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/package-lock.json -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/package.json -------------------------------------------------------------------------------- /frontend/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/postcss.config.js -------------------------------------------------------------------------------- /frontend/public/ss/authors.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/public/ss/authors.png -------------------------------------------------------------------------------- /frontend/public/ss/books.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/public/ss/books.png -------------------------------------------------------------------------------- /frontend/public/ss/dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/public/ss/dashboard.png -------------------------------------------------------------------------------- /frontend/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/public/vite.svg -------------------------------------------------------------------------------- /frontend/src/App.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /frontend/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/src/App.tsx -------------------------------------------------------------------------------- /frontend/src/AuthorsPage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/src/AuthorsPage.tsx -------------------------------------------------------------------------------- /frontend/src/BooksPage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/src/BooksPage.tsx -------------------------------------------------------------------------------- /frontend/src/ErrorPage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/src/ErrorPage.tsx -------------------------------------------------------------------------------- /frontend/src/assets/react.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/src/assets/react.svg -------------------------------------------------------------------------------- /frontend/src/components/AddEditAuthorModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/src/components/AddEditAuthorModal.tsx -------------------------------------------------------------------------------- /frontend/src/components/AddEditBookModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/src/components/AddEditBookModal.tsx -------------------------------------------------------------------------------- /frontend/src/components/AuthorCreateEditForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/src/components/AuthorCreateEditForm.tsx -------------------------------------------------------------------------------- /frontend/src/components/BookCreateEditForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/src/components/BookCreateEditForm.tsx -------------------------------------------------------------------------------- /frontend/src/components/DeleteAuthorModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/src/components/DeleteAuthorModal.tsx -------------------------------------------------------------------------------- /frontend/src/components/DeleteBookModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/src/components/DeleteBookModal.tsx -------------------------------------------------------------------------------- /frontend/src/components/IconDelete.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/src/components/IconDelete.tsx -------------------------------------------------------------------------------- /frontend/src/components/IconEdit.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/src/components/IconEdit.tsx -------------------------------------------------------------------------------- /frontend/src/components/IconView.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/src/components/IconView.tsx -------------------------------------------------------------------------------- /frontend/src/components/ViewAuthorModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/src/components/ViewAuthorModal.tsx -------------------------------------------------------------------------------- /frontend/src/components/ViewBookModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/src/components/ViewBookModal.tsx -------------------------------------------------------------------------------- /frontend/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/src/index.css -------------------------------------------------------------------------------- /frontend/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/src/main.tsx -------------------------------------------------------------------------------- /frontend/src/models/Author.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/src/models/Author.ts -------------------------------------------------------------------------------- /frontend/src/models/Books.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/src/models/Books.ts -------------------------------------------------------------------------------- /frontend/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /frontend/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/tailwind.config.js -------------------------------------------------------------------------------- /frontend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/tsconfig.json -------------------------------------------------------------------------------- /frontend/tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/tsconfig.node.json -------------------------------------------------------------------------------- /frontend/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Learn-It-Right-Way/lirw-react-node-mysql-app/HEAD/frontend/vite.config.ts --------------------------------------------------------------------------------