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.sqlite3
database in the root directory. This can be customized inside theconfig/config.json
file -
Copy the example environment file and make any necessary changes
cp ./.env.example .env
-
Install dependencies for the React app inside the
client
directory:
cd ./client
npm install
-
Clone the example environment file and set the URL for the Express API backend
cp ./.env.example .env
REACT_APP_BASE_URL=127.0.0.1:666
Production: npm run start
Development:npm run watch
cd ./client
npm run start