mirror of
https://github.com/Kong/insomnia.git
synced 2026-10-10 15:32:10 -04:00
3f5e7e2e141143fe945cd6c63804c910dc01ec3b
* Proof of concept authorize call * Authorize and Refresh endpoints done * OAuth2 editor started * Some small fixes * Set OAuth headers on request * Started on some OAuth tests * Updated network logic with new OAuth API * OAuth forms and refactor flows * Fix grant type handling * Moved auth handling out of render pipeline * Fixed legacy auth header * Fix vertical center * Prompt user on auth type change * Refresh tokens working (I think) and better UI * Catch same type auth change * POC refresh token and small refactor * Better token handling * LOading state to token refresh * Show o-auth-2 errors * Some minor updates
Insomnia REST Client

Insomnia is a cross-platform REST client, built on top of Electron.
Setup
# Install and use correct Node version
nvm install
# Install dependencies
npm install
Run Development
When you run the development environment, it will start both a dev server and an Electron instance. The dev server is part of Webpack and is used to control hot module replacement of UI components. This means that, if you change a component file, you will not need to refresh the app to see the change. It will inject the new component immediately.
npm run dev
Build to Folder
Build all assets into ./build/
npm run build
Languages
TypeScript
97.8%
CSS
1.1%
JavaScript
0.6%
MDX
0.3%
C++
0.1%
