ammobin-api
v2.0.2
Published
ammobin.ca api
Downloads
3
Readme
ammobin-api
how to run
docker run ammobindotca/ammobin-api -p 8080:8080
dev stuff
do normal nodejs dev stuff
- install nvm
- install docker
- run ``nvm use```
- add
127.0.0.1 redis
127.0.0.1 rendertron
to /etc/hosts (server + worker expect redis to be available at the host 'redis')
docker-compose run -d
npm run dev
for webservernpm run dev-worker
for scrape worker
todo
make redis url configurable make logging more configurable crash server when unable to access fluentd add a few unit tests add stricter types + move into common package for use with client ? refactor vendor info into single location clean up vendor urls refactor lambda and docker stuff into shared logic
docker hub
https://hub.docker.com/r/ammobindotca/ammobin-api/
how to verify scrapes
URL=wolverinesupplies.com TYPE=rimfire npx ts-node src/random/test.ts