Skip to content

atalek/btc-price

Repository files navigation

Bitcoin Price Checker

Landing page

This simple project allows you to search for the best BTC prices in euros. Simply enter an amount in euros, and the project will return the four best offerings from various providers. The project is built with Nuxt3, Tailwind CSS, and Turso SQLite DB to cache initial results.

Features

  • Search for BTC prices in euros
  • Displays the top four offerings from various providers
  • Caches initial results for enhanced performance

Technologies

  • Nuxt3
  • Tailwind CSS
  • Turso SQLite DB

Usage

  1. Enter an amount in euros in the dedicated input field.
  2. The project will automatically display the top four offerings from various providers.

Setup

  1. Clone the repository.

    git clone https://github.com/atalek/btc-price.git
    
  2. Navigate to the project directory.

    cd btc-price
    
  3. Install dependencies.

    npm install
    
  4. Configure environment variables.

  • Create a .env file in the root of the project.

  • Add the necessary environment variables for your Turso db.

     #Turso
     TURSO_DB_URL=your_turso_db_url
     TURSO_AUTHTOKEN=your_turso_auth_token
  1. Run the migration and development server.

    npm run db-push
    npm run dev
    
  2. Open your browser and visit http://localhost:3000 to view the Bitcoin price checker.

Live Version

https://btc-price.atalek.com/

Author

Github: @atalek
Linkedin: @Aleksandar Atanasovski
Portfolio: https://www.atalek.com/