2.1.0 • Published 2 months ago

zheshiwodedishisigebaoduoma v2.1.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 months ago

CryptoPrice

CryptoPrice is a Node.js application that provides various endpoints to fetch cryptocurrency price data and historical information. It utilizes Express.js and Axios to handle HTTP requests and interact with external APIs.

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/cryptoprice.git
  2. Install dependencies:

    cd cryptoprice
    npm install

Usage

  1. Start the server:

    npm start
  2. Access the following endpoints:

    • /bitcoin: Fetches the latest Bitcoin price.
    • /bitcoin/history: Fetches Bitcoin price history data for the year 2023.
    • /bitcoin/charts: Serves trend charts for Bitcoin prices.

Dependencies

  • Express: Web framework for Node.js.
  • Axios: Promise-based HTTP client for the browser and Node.js.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Author

Created by Your Name