Home

Awesome

TinyFaces πŸ‘¦πŸΌπŸ‘¨πŸΎπŸ‘©πŸ»

<img src="/Public/images/github-header.png?raw=true" width="888">

Tiny Faces is a free crowd-sourced avatar gallery to use in your personal or commercial projects

Also check out our Figma Plugin and Sketch Plugin

🦾 API

Endpoints

Query

Limitations

πŸŽ’ Before building (dependencies)

STRIPE_SECRET_KEY=
STRIPE_PUBLISH_KEY=
STRIPE_PRICE=
STRIPE_WEBHOOK_SECRET=
CLOUDFLARE_ACCOUNT_IDENTIFIER=
CLOUDFLARE_ACCOUNT_HASH=
CLOUDFLARE_IMAGES_KEY=
CLOUDFLARE_BEARER_TOKEN=
URL=https://tinyfaces.ngrok.io

Sadly we can't share our Thumbor setup and therefore you need to run a instance yourself for this to work.

🚧 Building

If you want to test Stripe webhooks you set the run a ngrok proxy and make sure you set the correct STRIPE_SECRET_KEY, STRIPE_PUBLISH_KEY, STRIPE_WEBHOOK_SECRET and STRIPE_PRICINGTABLE_ID in .env

ngrok http -subdomain=tinyfaces 8080 > /dev/null &

πŸ’Ÿ Heroku:

  1. In the project directory: heroku create --buildpack vapor/vapor
  2. Deploy using git push heroku master or setup continues deployment in Heroku.
  3. For logs use command heroku logs
  4. Make sure you fill in all Config Vars on Heroku, see the snippet below:
URL = https://tinyfac.es
MYSQL_URL =
PORT =
THUMBOR_URL=URL
THUMBOR_KEY=ABCDEFG
STRIPE_SECRET_KEY=
STRIPE_PUBLISH_KEY=
STRIPE_PRICINGTABLE_ID=
SWIFT_BUILD_CONFIGURATION = release

πŸ“– Documentation

Visit the Vapor web framework's documentation for instructions on how to use this package.