-
Dogs around
GET /api/location/dogsAround?ne-lat=51.603176&ne-lon=-0.187197&sw-lat=51.599313&sw-lon=-0.199326
-
Register location
POST /api/location/register { "userUuid":"dog1", "dogName":"Dog 1", "latitude":51.600000, "longitude":-0.190000, "walking": "true|false" }
-
Sign Up
POST /api/authentication/signup { "email":"xxx@xxx.com", "password":"xxx", "dogName":"Dog xxx", "dogGender":"FEMALE|MALE", "dogBreed":"SHIBA_INU", "dogBirthdate":"2015-01-01" }
-
Log In
POST /api/authentication/login { "email":"xxx@xxx.com", "password":"xxx"}
-
Activate
GET /api/authentication/activate?token=xxx
- Integration : https://walkingdog-services-int.herokuapp.com/
- Production : https://walkingdog-services-prod.herokuapp.com/
- Cloudinary
- Postgres
- New Relic APM
- Papertrail
- SendGrid
- CLOUDINARY_URL
- JWT_KEYSTORE_PASSWORD
- JWT_KEYSTORE_PATH
- DATABASE_URL
- NEW_RELIC_LICENSE_KEY
- NEW_RELIC_LOG
- PAPERTRAIL_API_TOKEN
- SENDGRID_PASSWORD
- SENDGRID_USERNAME
- WALKINGDOG_AUTHENTICATION_API_URL
- Install Java 8
- Install Maven 3
mvn clean install
docker run --name walkingdogs-postgres -e POSTGRES_PASSWORD=mysecretpassword -p 5432:5432 -d postgres
- Setup schema
- Create setenv.sh in walkingdog-services directory (ignored by git) and add all environment variables
- Run local.sh in walking-services (current folder should be walkingdog-services)