Skip to main content

Environments

You are probably familiar with environments such as "development" or "production".

As such, environments are sub spaces under apps. They are meant to follow familiar setup while working on software projects.

How it looks like?

Once you have an account with nodb, an environment called dev will be generated for you as a first step.

Environments are formed after the https://api.nodb.sh/app-name/ part. For example, if you named your environment "local", your environment will be at https://api.nodb.sh/app-name/local.

How can I create an environment?

Similar to apps, environments can only be created within the dashboard from your browser while you're signed in.

You can also edit or delete your environment. When you click on any of your apps, you'll have options to add, edit or delete environments within the app.

Environment name pattern

Environment name follows the hyphenated url pattern.

Valid environment names: "dev" or "qa-local".

Fetch an environment (GET)

Unlike writing commands GET is open command protected with access token.