Giter Club home page Giter Club logo

admin's People

Contributors

aayushchugh avatar allcontributors[bot] avatar arpitchugh avatar is-it-ayush avatar johnnyohms avatar renovate[bot] avatar tchakoumi avatar tharun634 avatar

Stargazers

 avatar  avatar  avatar

admin's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • fix(deps): update dependency yarn to v1.22.22
  • chore(deps): update commitlint monorepo to v17.8.1 (@commitlint/cli, @commitlint/config-conventional, commitlint)
  • chore(deps): update dependency tailwindcss to v3.4.4
  • fix(deps): update dependency @types/node to v18.19.34
  • fix(deps): update dependency axios to v1.7.2
  • fix(deps): update dependency framer-motion to v10.18.0
  • fix(deps): update dependency react-router-dom to v6.23.1
  • fix(deps): update dependency typescript to v5.4.5
  • fix(deps): update testing-library monorepo (@testing-library/jest-dom, @testing-library/react, @testing-library/user-event)
  • chore(deps): update commitlint monorepo to v19 (major) (@commitlint/cli, @commitlint/config-conventional, commitlint)
  • chore(deps): update dependency husky to v9
  • fix(deps): update dependency @reduxjs/toolkit to v2
  • fix(deps): update dependency framer-motion to v11
  • fix(deps): update dependency react-icons to v5
  • fix(deps): update dependency react-redux to v9
  • fix(deps): update dependency web-vitals to v4
  • fix(deps): update testing-library monorepo (major) (@testing-library/jest-dom, @testing-library/react)
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

docker-compose
docker-compose.yml
dockerfile
Dockerfile
  • node 16-alpine
npm
package.json
  • @reduxjs/toolkit 1.9.6
  • @testing-library/jest-dom 5.16.5
  • @testing-library/react 14.0.0
  • @testing-library/user-event 14.4.3
  • @types/jest 29.5.5
  • @types/node 18.18.1
  • @types/react 18.2.23
  • @types/react-dom 18.2.8
  • axios 1.5.1
  • formik 2.2.9
  • framer-motion ^10.0.0
  • react 18.2.0
  • react-dom 18.2.0
  • react-icons 4.8.0
  • react-redux 8.0.5
  • react-router-dom 6.16.0
  • react-scripts 5.0.1
  • typescript 5.2.2
  • web-vitals 3.5.0
  • yarn ^1.22.19
  • yup 1.0.2
  • @commitlint/cli 17.7.2
  • @commitlint/config-conventional 17.7.0
  • @types/axios 0.14.0
  • all-contributors-cli 6.24.0
  • commitlint 17.7.2
  • husky 8.0.3
  • tailwindcss 3.3.3

  • Check this box to trigger a request for Renovate to run again on this repository

[BUG] :bug: logged in admin is not redirected to dashboard automatically

Current Behaviour

when we login on admin dashboard it redirect to /dashboard route and then if we visit the / route again
than we are not redirected to the dashboard instead we have to login again

Expected Behaviour

if we visit the / route and if there are access_token and refresh_token present in local storage than we should be redirected to /dashboard automatically

Steps To Reproduce

  1. visit / route
  2. login with your credentials
  3. you will be redirected to /dashboard
  4. revisit / route manually (by changing the url)
  5. You are not redirected to the dashboard and have to login again

Anything else?

Recording 2022-12-16 at 18 42 21

[DOCS] :memo: Create readme docs for `tooltip` and `button` component

Description

currently there is no documentation to see how we can use these components.
we can create a README.MD file in the same folder as the Tooltip.tsx file and document
the component there

these things should be added in the documentation

  • props
  • add screenshot of each type of tooltip

Anything else?

No response

[FEAT] :sparkles: Implement `ProtectedRoutes` logic

Description

when user opens any protected route than it should first check if there is access_token and refresh_token present in the local storage of the browser than the access_token should be verified by hitting api endpoint and if the api return 200 only than user should be able to access the protected route

Anything else?

API endpoint for verifying the access token: /api/auth/me

[FEAT] :sparkles: Admin Update

Description

Todo:

  • Login Logic
  • Login Adjustment's
  • Adding Tooltip
  • Fix: Only allow user's with admin role to login.
  • Route's
  • Add Animations
  • Add Dashboard
  • Add 404

Anything else?

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.