Files
hoppscotch/packages/hoppscotch-sh-admin
Joel Jacob Stephen 185c225297 feat: introduces ability to export single environment variables and allow CLI to accept the export format used by the app (#3380)
* feat: add ability to export a single environment

* refactor: export environment without id

* feat: introducing zod for checking json format for environment variables

* refactor: new zod specific type for HoppEnvPair

* feat: add ability to export single environment in team environment

* refactor: moved zod as a dependency to devDependency

* refactor: separated repeating logic to helper file

* refactor: removed unnecessary to string operation

* chore: rearranged smart item placement

* refactor: introduced error type when a bulk environment export is used in cli

* refactor: removed unnecssary type exports and updated logic and variable names across most files

* refactor: better logic for type shapes

* chore: bump hoppscotch-cli package version

---------

Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
2023-10-06 11:21:54 +05:30
..
2023-09-18 11:26:31 +05:30
2023-09-18 20:18:23 +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.