GithubHelp home page GithubHelp logo

pbrudnick / elixir_cool_libs_talk Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 141 KB

Some cool libs in elixir for the BeamBA meetup

License: GNU General Public License v3.0

Elixir 83.33% JavaScript 6.06% CSS 0.07% HTML 10.54%

elixir_cool_libs_talk's Introduction

elixir cool libs talk for BeamBA meetup

This is a basic Phoenix Species App ๐Ÿฆ ๐ŸŒฟ done with โค๏ธ

How to follow the talk:

  1. git clone [email protected]:pbrudnick/elixir_cool_libs_talk.git or just fork it!
  2. git checkout <BRANCH_NAME> for the desired topic of the talk
  3. Read the README.md of each branch to know the additions and more details.
  4. Run it!

Branch logic

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 base Phoenix with species endpoints
  • guardian - adds Guardian and Comeonin/Bcrypt for user/session
  • cachex - adds Cachex for caching API responses
  • external_service - adds ExternalService for circuit breaker and rate limiter on API requests for specie observations
  • logster - adds Logster plug for HTTP logs
  • master - always the last version (logster branch for now)

Run it!

  • 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.

HTML admin

Creating a user:

http://localhost:4000/admin/users/new

Species admin

http://localhost:4000/admin/species

API REST Endpoints

GET /api/species

http://localhost:4000/api/species

GET /api/species/:id

http://localhost:4000/api/species/:id

GET /api/species/:id/observations

http://localhost:4000/api/species/:id/observations

Learn more

elixir_cool_libs_talk's People

Contributors

pbrudnick avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.