* 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>
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.