Keep track of your crypto portfolio with exchange APIs and local text files.
These instructions assume you have Yarn installed.
Open a terminal in the project parent directory.
Clone this repository:
git clone [email protected]:stav/crapp.git
Enter the repository directory:
cd crapp
Use Yarn to install the dependencies:
yarn
Copy over the example database and edit as needed:
cp data/repositorys.json.example data/repositorys.json
If you have accounts at either Binance or Coinbase then copy over the environment file example and edit as needed:
cp .env.example .env
Run the server:
yarn dev
The webserver will be available at http://localhost:3000.
For detailed explanation on how things work, check out Nuxt.js docs.
My host does not have enough available memory to build the app so I have to build it on the dev machine and copy the files over manually.
stav@varan ~/Work/Crypto/crapp$ cp -r .nuxt/ cowboy:/~/crapp/
stav@cowboy:/srv/~/crapp$ pm2 start 'yarn start' --name CrApp
[PM2] Starting /usr/bin/bash in fork_mode (1 instance)
[PM2] Done.
┌─────┬──────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
│ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │
├─────┼──────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
│ 0 │ CrApp │ default │ N/A │ fork │ 25117 │ 0s │ 0 │ online │ 0% │ 696.0kb │ stav │ disabled │
└─────┴──────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
https://coindashboards.com/currency/uniswap https://drive.google.com/drive/folders/1efGfjrsYQVB4sBiZ11YgDnTDi9zXVVnb https://github.com/AllienWorks/cryptocoins https://github.com/spothq/cryptocurrency-icons https://monolith.xyz https://s2.coinmarketcap.com/static/img/coins/64x64/1975.png