superman66/vue-axios-github resource
Vue 全家桶 + axios 前端实现登录拦截、登出、拦截器等功能 observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3485
- days_rel: n/a
- days_push: 2276
- n_releases_24m: 0
Adoption not part of the score
2668 stars · 717 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Vue 2 demo project teaching how to implement login interception, logout, and token-expiry handling using vue-router guards, Vuex, and axios HTTP interceptors with GitHub personal access tokens. It doubles as a working example app that lists a user's GitHub repositories after token-based login.
Use cases
- learn how to implement route guards for login in vue-router
- example of axios request and response interceptors
- handle 401 unauthorized and token expiry in a Vue SPA
- redirect users to login page and back after authentication
- use a GitHub personal access token to fetch repository list
- understand vuex state for storing auth tokens
When to choose
- you are learning the Vue 2 ecosystem (vue-router, vuex, axios) and need a small worked example of auth interception
- you want a reference for axios interceptor patterns and beforeEach route guards
When to avoid
- you need a production-ready authentication solution or maintained library
- you are starting a new project on Vue 3 or a modern stack
- you need real backend-backed OAuth rather than a GitHub token demo
Facets
learning-resource · maturity abandoned
auth http-client routing state-management middleware web-development frontend education tutorials vue2 vue-router vuex axios-interceptors login-guard token-auth demo-project tutorial web-server nodejs javascript
2 sources
- readme: https://github.com/superman66/vue-axios-github · fetched 2026-08-28 · 451b9e190185
- homepage: http://superman66.github.io/vue-axios-github/ · fetched 2026-08-29 · 4da96ce65492
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| superman66/vue-axios-github | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="superman66/vue-axios-github")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem