1.1.3 • Published 4 years ago
is-my-env-alive v1.1.3
Is my environment alive?
:star: Star us on GitHub — it helps!
is-my-env-alive é um simples projeto que te ajuda a verificar - de maneira facil e rapida - se todas as suas APIs ou Frontends estão on-line!
Table of content
Installation
Install the package
npm i -g is-my-env-alive
Create a JSOn file to define your projects
touch projects.json
vi projects.json
Insira seus ambientes e projetos
{
"stage": {
"products-api": {
"url": "https://stage.my-awesome-api/products/search?limit=1",
"status": 200
},
"categories-api": {
"url": "https://stage.my-awesome-api/categories/search?limit=1",
"status": 200
}
},
"develop": {
"products-api": {
"url": "https://develop.my-awesome-api/products/search?limit=1",
"status": 200
},
"categories-api": {
"url": "https://develop.my-awesome-api/categories/search?limit=1",
"status": 200
}
}
}
Usage
is-my-env-alive -e stage -f projects.json
JSON Structure
url
\
Rota que sera apontada na requisicao para validar se a API esta on-line ou nao
status
\
Status esperado da url para definir que a API esta on-line
License
The is-my-env-alive extension is licensed under the terms of the GPL Open Source license and is available for free.
Links
1.1.0
4 years ago
1.1.3
4 years ago
1.0.0
4 years ago
0.0.8-alpha
4 years ago
0.0.6-alpha
4 years ago
0.0.7-alpha
4 years ago
0.0.5
4 years ago
0.0.4
4 years ago
0.0.3
4 years ago
0.0.2
4 years ago
0.0.1
4 years ago