API (dev environment): https://dev.api.youpin.city All data is sent and recieved as JSON.
API Documents is auto-generated by apidoc and can be accessed at https://youpin-city.github.io/youpin-api-docs
To run your local YouPin API,
-
Clone repo
git clone git@github.com:youpin-city/youpin-api.git
. -
Get credential GCS private key. Currently, YouPin API depends on Google Cloud Storage (GCS) to store photos and videos. Follow instruction 1.a to 1.f to get GCS private key. Rename the key to
youpin_gcs_credentials.json
and place it in the root folder (same level withpackage.json
). -
Install docker.
-
Start service with
docker-compose up -d
. The service will run on port 9100. To stop, rundocker-compose stop
. If you need to build a new docker image with modified code, rundocker-compose up --build -d
.
0.1.0
- Initial release
Copyright (c) 2016
Licensed under the MIT license.