First you have to install arweave (look in google who to do that). Remember there's not arweave TestNet or DevNet, so you have to use this https://github.com/ArweaveTeam/testweave-sdk
Moving on. Once you have testweave-docker cloned and ready to use, run the command
docker-compose up
You can have troubles if you have another app running in the 80 port, for example nginx, if you're using ubuntu 20.04 or later, you can do
sudo systemctl stop nginx
and there's all
Another possible error is that when you kill the local node, one or more docker containers could remain orphans, so to avoid that you run
docker-compose down --remove-orphans
Now, with the arweave local node, you can start uploading files (This files will storage in your PC, obviously).
You have to clone my monorepo and use the arweave lib to create de NestJs API. Install the @nrwl/nestjs dependency and generate your app using NX console or the following command
npx nx generate @nrwl/nest:application --name=arweave-api --no-interactive
To use 'arweave' you have to add the
"esModuleInterop": true
to the compilerOptions in the tsconfig.app.json.