sandbox for Axios.js
Go to file
Begerad, Stefan 43ef87438e feat: changed URL to a simpler example 2021-09-09 10:31:19 -04:00
.env feat: changed URL to a simpler example 2021-09-09 10:31:19 -04:00
README.md feat:adapted to example https://masteringjs.io/tutorials/axios/basic_auth 2021-09-09 09:41:02 -04:00
index.js feat: added debug logging of response 2021-09-09 10:30:33 -04:00
package.json feat: disabled server authorization in dev mode according to https://stackoverflow.com/questions/51363855/how-to-configure-axios-to-use-ssl-certificate 2021-09-09 10:11:43 -04:00

README.md

/*

  • SPDX-FileCopyrightText: 2021 Stefan Begerad stefan@begerad.de
  • SPDX-License-Identifier: GPL-3.0-or-later */

axios

Client using axios library to send a HTTP GET request.

Overview

This repository provides a command line interface service for Linux based operating system.

Preparation

Run the following command in your favorite GNU/Linux shell to install dependenies.

npm i

Development setup

Run the following command in your favorite GNU/Linux shell if you fancy log messages for debugging.

export DEBUG=$DEBUG,axios

Run the following command in your favorite GNU/Linux shell to start the service in development mode.

npm run dev

Production deployment

Run the following command in your favorite GNU/Linux shell to start the service for production mode.

npm run start