mirror of
https://github.com/Kong/insomnia.git
synced 2026-04-21 06:37:36 -04:00
bb57f360e037a0bec994dbb7248f0679402a4ef2
* Sort of working nunjucks editor * Some more tweaks * Lots of stuff * Gettingn pretty good * Minor tweaks and test fixes * Minor bug fixes and stuff * Some fixes and perf * Refactoring * Good for now * Codemirror URL * More and more fixes and improvements * Code single-line CSS perfect!!! * Better nj editing * Show preview in nj edit * Some editor updates * All inputs now covered * A bunch of fixes and stuff * Don't cache node modules because it's not needed * More stuff * Tweak * Style tweaks * Pull nunjucks mode into own file * Move codemirror click overlay to own file * Pull nunjucks tag stuff out * Fixed key value editor * raw/endraw and marks improvements * Some tweaks
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
Description
Languages
TypeScript
57%
JavaScript
41.7%
CSS
0.9%
MDX
0.2%
C++
0.1%
