This is a basic Phoenix Species App
🐦 🌿 done with ❤️
git clone git@github.com:pbrudnick/elixir_cool_libs_talk.git
or justfork
it!git checkout <BRANCH_NAME>
for the desired topic of the talk- Read the
README.md
of each branch to know the additions and more details. - Run it!
In the different branches I will be adding some cool libs to my app. Each branch will be incremental from the previous one in order to adding functionality to the app.
base
- the basePhoenix
with species endpointsguardian
- addsGuardian
andComeonin
/Bcrypt
for user/sessioncachex
- addsCachex
for caching API responsesexternal_service
- addsExternalService
for circuit breaker and rate limiter on API requests for specie observationslogster
- addsLogster
plug for HTTP logsmaster
- always the last version (logster
branch for now)
- Install dependencies with
mix deps.get
- Create and migrate your database with
mix ecto.setup
- Start Phoenix endpoint with
EBIRD_API_TOKEN=<YOUR_EBIRD_TOKEN> mix phx.server
Now you can visit localhost:4000
from your browser.
Ready to run in production? Please check our deployment guides.
http://localhost:4000/admin/users/new
http://localhost:4000/admin/species
http://localhost:4000/api/species
http://localhost:4000/api/species/:id
http://localhost:4000/api/species/:id/observations
- Official website: http://www.phoenixframework.org/
- Guides: http://phoenixframework.org/docs/overview
- Docs: https://hexdocs.pm/phoenix
- Mailing list: http://groups.google.com/group/phoenix-talk
- Source: https://github.com/phoenixframework/phoenix