Sign inSign up

ammobindotca/ammobin-api

By ammobindotca

•Updated about 5 years ago

api for https://ammobin.ca

Image
1

100K+

ammobindotca/ammobin-api repository overview

⁠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/⁠

Tag summary

Content type

Image

Digest

Size

214.7 MB

Last updated

about 5 years ago

docker pull ammobindotca/ammobin-api