api-client/packages/hoppscotch-sh-admin
Joel Jacob Stephen b18fd90b64
fix: blank screen in admin dashboard on authentication problems (#3385)
* fix: dashboard logs out user when cookie expires or is unauthorized

* fix: handles the 401 error thrown when trying to refresh tokens

* chore: updated wrong logic when returning state in refresh token function

* feat: introduced auth exchange to urql client to check for errors on each backend call

* fix: prevent multiple window reloads

---------

Co-authored-by: jamesgeorge007 <jamesgeorge998001@gmail.com>
2023-10-09 10:08:35 +05:30
..
assets fix: remove scrollbar from smart env input component on firefox (#3362) 2023-09-18 13:20:53 +05:30
locales chore: clean up i18n (#3350) 2023-09-18 11:26:31 +05:30
public fix: changed vite icon to hoppscotch icon and changed title in admin dashboard (#82) 2023-04-10 13:07:59 +05:30
src fix: blank screen in admin dashboard on authentication problems (#3385) 2023-10-09 10:08:35 +05:30
.dockerignore feat: introducing i18n support to admin dashboard (#3051) 2023-06-16 09:47:00 +05:30
.gitignore feat: introducing self hosted admin dashboard package (#12) 2023-02-28 13:13:27 +05:30
Caddyfile feat: self host packaging (HBE-166) (#41) 2023-04-04 03:17:18 +05:30
Dockerfile fix: reduce the memory consumption during build to prevent OOM (#3148) 2023-07-18 00:08:06 +05:30
gql-codegen.yml feat: introduce gql schema sdl generation to the backend (#35) 2023-03-13 18:52:50 +05:30
index.html refactor: remove font sizes from the app (#3341) 2023-09-13 11:45:38 +05:30
languages.json feat: introducing i18n support to admin dashboard (#3051) 2023-06-16 09:47:00 +05:30
package.json fix: blank screen in admin dashboard on authentication problems (#3385) 2023-10-09 10:08:35 +05:30
prod_run.mjs feat: container registry friendly docker images and all-in-one container (#3193) 2023-08-24 00:01:28 +05:30
README.md fix: changed vite icon to hoppscotch icon and changed title in admin dashboard (#82) 2023-04-10 13:07:59 +05:30
tsconfig.json refactor: fonts are now bundled with packages (#3227) 2023-08-05 23:42:31 +05:30
tsconfig.node.json feat: introducing self hosted admin dashboard package (#12) 2023-02-28 13:13:27 +05:30
vite.config.ts refactor: updated i18n implementation in the admin dashboard (#3395) 2023-10-06 17:36:19 +05:30
windi.config.ts feat: introducing self hosted admin dashboard package (#12) 2023-02-28 13:13:27 +05:30

Hoppscotch Logo

Hoppscotch Self Hosted Admin Dashboard

Support

Chat on Discord Chat on Telegram Discuss on GitHub

Built with

Developing

  1. Update .env.example file found in the root of repository with your own keys and rename it to .env.

Local development environment

  1. Clone this repo with git.
  2. Update .env.example file found in the root of hoppscotch-sh-admin directory with your own keys and rename it to .env.
  3. Install pnpm using npm by running npm install -g pnpm.
  4. Install dependencies by running pnpm install within the hoppscotch-sh-admin directory
  5. It is assumed that the backend is running. Refer the Hoppscotch Backend README to get the backend setup and running.
  6. Start the development server with pnpm run dev.
  7. Open the development site by going to http://localhost:3100 in your browser.