Skip to content

asqwrd/trotter-api

Repository files navigation

trotter-api

This repo will act as the backend for trotter. All api will be maintained here

Prereqs:

  1. Set the environment variables PORT_TROTTER to what ever port desired. We typically use 3002.

To run:

  1. go run main.go

API we are using to get Country Info

Triposo - for city info, tour info

https://www.triposo.com/api/console/20180627 login: asqwrd@gmail.com pw: trotter@world

Sherpa Api - for Visa, immunization for countries

http://apidocsv2.joinsherpa.com/ API access: { "key": "nIXaxALFPV0IiwNOvBEBrDCNSw3SCv67R4UEvD9r", "username": "VDLQLCbMmugvsOEtihQ9kfc6nQoeGd" }

Docker

docker run -d --name watchtower -e REPO_USER=$DOCKER_USERNAME -e REPO_PASS=$DOCKER_PASSWORD -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower trotter-api --debug --interval 30

docker run -p 3002:3002 -dit --restart unless-stopped --name trotter-api asqwrd/trotter-api

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors