Skip to content

Commit

Permalink
Merge pull request #202 from fdhhhdjd/bao_fe
Browse files Browse the repository at this point in the history
#176 [Frontend] Student Full Authentication
  • Loading branch information
fdhhhdjd authored Mar 15, 2023
2 parents 3d18b65 + 2d8e45e commit b7d3723
Show file tree
Hide file tree
Showing 117 changed files with 3,800 additions and 3,266 deletions.
61 changes: 45 additions & 16 deletions frontend-manager-cms/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions frontend-manager-cms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,19 @@
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"autoprefixer": "^10.4.13",
"axios": "^0.25.0",
"framer-motion": "^6.2.8",
"jwt-decode": "^3.1.2",
"moment": "^2.29.1",
"nanoid": "^4.0.1",
"postcss": "^8.4.21",
"react": "^17.0.2",
"react-bootstrap": "^2.7.2",
"react-countup": "^6.1.1",
"react-detect-offline": "^2.4.5",
"react-dom": "^17.0.2",
"react-dropdown-date": "^2.2.7",
"react-google-recaptcha": "^2.1.0",
"react-icons": "^4.3.1",
"react-lazy-load-image-component": "^1.5.5",
Expand All @@ -39,6 +43,7 @@
"slick-carousel": "^1.8.1",
"sweetalert": "^2.1.2",
"sweetalert2": "^11.4.8",
"tailwindcss": "^3.2.7",
"toast": "^0.3.47",
"uuid": "^8.3.2",
"web-vitals": "^1.0.1"
Expand Down
6 changes: 6 additions & 0 deletions frontend-manager-cms/postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
};
21 changes: 0 additions & 21 deletions frontend-manager-cms/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,32 +22,11 @@
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
crossorigin="anonymous"
/>

<title>CMS Shool Library</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script
src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"
></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"
></script>
<script
src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"
></script>
</body>
</html>
5 changes: 5 additions & 0 deletions frontend-manager-cms/src/api/api_user.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,10 @@ const API_ADMIN = {
* @descriptionKey API login admin
*/
LOGIN_ADMIN_CMS: '/manager/v1/admin/login',
GET_ALL_BOOK_CMS: '/manager/v1/admin/private/book/all',
GET_DETAIL_BOOK_CMS: '/manager/v1/admin/private/book/detail',
GET_ALL_AUTHOR_CMS: '/manager/v1/admin/private/author/all',
GET_DETAIL_AUTHOR_CMS: '/manager/v1/admin/private/author/detail',
RENEW_TOKEN_CMS: '/manager/v1/admin/renew-token',
};
export default API_ADMIN;
Binary file added frontend-manager-cms/src/assets/icons/Calendar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend-manager-cms/src/assets/icons/Chart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend-manager-cms/src/assets/icons/Chart_fill.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend-manager-cms/src/assets/icons/Chat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend-manager-cms/src/assets/icons/Folder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend-manager-cms/src/assets/icons/Search.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend-manager-cms/src/assets/icons/Setting.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend-manager-cms/src/assets/icons/User.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend-manager-cms/src/assets/icons/control.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend-manager-cms/src/assets/icons/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 0 additions & 22 deletions frontend-manager-cms/src/components/BookCard.jsx

This file was deleted.

24 changes: 0 additions & 24 deletions frontend-manager-cms/src/components/Button.jsx

This file was deleted.

23 changes: 0 additions & 23 deletions frontend-manager-cms/src/components/CategoryCard.jsx

This file was deleted.

59 changes: 0 additions & 59 deletions frontend-manager-cms/src/components/Dropdown.jsx

This file was deleted.

Loading

0 comments on commit b7d3723

Please sign in to comment.