🤖 Automated condition-based DEX trading 🚀 🛸
🖲 🕹 Demo for the tannatci app https://tannatci.com
The app is a single page React app, created with create-react-app
.
To start development, clone this repo, install all dependencies, and start the development server:
git clone git@github.com:innoprenuer/tannatci.git
cd tannatci/
docker-compose up
npm i
npm start
For development, the tannatci-be/
, tannatci-fe/
and tannatci-gannache/
directories have their own docker containers, which are configured via the docker-compose.yml
file.
The client server is spun up at localhost:3050
and it proxies internally to the server using the linked name as server:5000
.
The local directories are mounted into the containers, so changes will reflect immediately. However, changes to package.json will likely need to a rebuild: docker-compose down && docker-compose build && docker-compose up
.
All changes to node_modules
should happen inside the containers. Install any new dependencies by inside the container. You can do this via docker-compose run
, but it’s easier to just upadte a running container and avoid having to rebuild everything:
docker-compose exec client
Then inside:
npm install --save <new_dependency>