React and Express application to log personal cryptocurrency transactions and display current market information.
- Clone the repo
git clone git@github.com:BE-Design/crypto_tax_tracker.git
-
Install dependencies for the Express server in the project's root directory
npm install -
Run Sequelize database migrations
npx sequelize-cli db:migrate
Note: this will create adatabase.sqlite3database in the root directory. This can be customized inside theconfig/config.jsonfile -
Copy the example environment file and make any necessary changes
cp ./.env.example .env
-
Install dependencies for the React app inside the
clientdirectory:
cd ./client
npm install -
Clone the example environment file and set the URL for the Express API backend
cp ./.env.example .envREACT_APP_BASE_URL=127.0.0.1:666
Production: npm run start
Development:npm run watch
cd ./client
npm run start