kharkovdenys / bitcoin-price

Current exchange rate of Bitcoin (BTC) to UAH

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bitcoin Price

Current exchange rate of Bitcoin (BTC) to UAH

Requirements

  • Node 16
  • Git
  • Docker

Common setup

Clone the repo and install the dependencies

git clone https://github.com/kharkovdenys/bitcoin-price.git
cd bitcoin-price
npm install

Setting .env

...
SERVICE=                #email service
EMAIL=                  #email for sending letters
PASSWORD=               #email password
EMAILTEST=              #gmail email for tests
...

Supported services

Setting up the gmail tester

Running Tests

To run the test suite, first install the dependencies, then run npm test:

npm install
npm test

Start the application

To start the express server, run the following

npm run dev

Open http://localhost:3000 and take a look around

Use Docker

You can also run this app as a Docker container:

Step 1: Clone the repo

git clone https://github.com/kharkovdenys/bitcoin-price.git

Step 2: Build the Docker image

docker build -t bitcoin-price .

Step 3: Run the Docker container locally:

docker run -p 3000:3000 -d bitcoin-price

About

Current exchange rate of Bitcoin (BTC) to UAH

License:MIT License


Languages

Language:JavaScript 96.4%Language:Dockerfile 1.9%Language:Shell 1.7%