1. Setup the project on local machine:
git clone https://github.com/ArastoSahbaei/transbit-web.git
cd <folder>
npm install
npm start
2. Create a .env
file in the root of the project with the following variables:
REACT_APP_ENVIROMENT = DEVELOPMENT
1. Setup the project on local machine:
git clone https://github.com/ArastoSahbaei/BITup-server
cd <folder>
npm install
npm start
2. Create a .env
file in the root of the project with the following variables:
ENVIROMENT = DEVELOPMENT
TOKEN_SECRET = <string>
BCRYPT_SALT_ROUNDS = <number>
EMAIL_PW = <string>
DEV_DATABASE_URL = <string> EXAMPLE: mongodb://localhost:27017/bitup
DEV_BTCPAY_TOKEN = <string>
DEV_BINANCE_TOKEN = <string>
DEV_BINANCE_SECRET = <string>
DEV_WEB_URL = <string> EXAMPLE: http://localhost:3000
3. Insomnia
Import the file found in /insomnia/*
into Insomnia. This should provide you with all API-calls.