ammobin-api
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

ammobin-api Codeship Status for ammobinDOTca/ammobin-api Greenkeeper badge docker pulls

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```
  1. 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')

  1. docker-compose run -d
  2. npm run dev for webserver
  3. npm 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

Readme

Keywords

none

Package Sidebar

Install

npm i ammobin-api

Weekly Downloads

2

Version

2.0.2

License

MIT

Unpacked Size

5.46 MB

Total Files

254

Last publish

Collaborators

  • cleanfx
  • nexus-uw