phoenix_api icon indicating copy to clipboard operation
phoenix_api copied to clipboard

This is an api only phoenix framework boilerplate which supports graphql, authentication and aws/backblaze s3 and thumbnailing out the box as of now.

Phoenix Framework - API only Phoenix boilerplate.

What's in it ?

  • Full Graphql support using absinthe
  • Authentication using Guardian
  • S3 uploads and fetching and thumbailing images using arc,arc_ecto, ex_aws and ex_aws_s3.

Todo

  • Add tests
  • At present there are 3 models/schemas in this bolerplate. Users, Posts, and Chats. Graphql resolvers needs some refinements. Basically I need to setup assocations a bit better so that I can just preload these easily.
  • Possibly integrate dataloader queries too.
  • Improve the way thumbnailing is done. Maybe check ImageProxy library for that ?

To start your Phoenix server:

  • Run docker-compose build and docker-compose run

Learn more

  • Official website: https://www.phoenixframework.org/
  • Guides: https://hexdocs.pm/phoenix/overview.html
  • Docs: https://hexdocs.pm/phoenix
  • Forum: https://elixirforum.com/c/phoenix-forum
  • Source: https://github.com/phoenixframework/phoenix