* 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> |
||
|---|---|---|
| .. | ||
| assets | ||
| locales | ||
| public | ||
| src | ||
| .dockerignore | ||
| .gitignore | ||
| Caddyfile | ||
| Dockerfile | ||
| gql-codegen.yml | ||
| index.html | ||
| languages.json | ||
| package.json | ||
| prod_run.mjs | ||
| README.md | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
| windi.config.ts | ||
Built with
Developing
- Update
.env.examplefile found in the root of repository with your own keys and rename it to.env.
Local development environment
- Clone this repo with git.
- Update
.env.examplefile found in the root ofhoppscotch-sh-admindirectory with your own keys and rename it to.env. - Install pnpm using npm by running
npm install -g pnpm. - Install dependencies by running
pnpm installwithin thehoppscotch-sh-admindirectory - It is assumed that the backend is running. Refer the Hoppscotch Backend
READMEto get the backend setup and running. - Start the development server with
pnpm run dev. - Open the development site by going to
http://localhost:3100in your browser.