https://github.com/serradura/phx-todo_api
App created to practise the blog posts of blog.codeship.com about Elixir/Phoenix.
https://github.com/serradura/phx-todo_api
elixir elixir-phoenix learning-by-doing phoenix-api-auth
Last synced: 6 months ago
JSON representation
App created to practise the blog posts of blog.codeship.com about Elixir/Phoenix.
- Host: GitHub
- URL: https://github.com/serradura/phx-todo_api
- Owner: serradura
- Created: 2019-05-29T02:47:48.000Z (over 6 years ago)
- Default Branch: 2.0.0
- Last Pushed: 2019-06-03T03:40:13.000Z (over 6 years ago)
- Last Synced: 2025-02-13T05:15:38.025Z (8 months ago)
- Topics: elixir, elixir-phoenix, learning-by-doing, phoenix-api-auth
- Language: Elixir
- Homepage:
- Size: 59.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TodoApi (branch: 2.0.0)
App created to practise the blog posts of blog.codeship.com about Elixir/Phoenix.
**Blog posts which was read:**
- [x] https://blog.codeship.com/an-introduction-to-apis-with-phoenix/
- [x] https://blog.codeship.com/ridiculously-fast-api-authentication-with-phoenix/
- [x] https://blog.codeship.com/refactoring-faster-can-spell-phoenix/---
**Variations of the original implementation ([master](https://github.com/serradura/phx-todo_api/tree/master)):**
(List from best to worst)
* [TodoApi.Accounts.Authentication + Todos functions receive the owner as keywords](https://github.com/serradura/phx-todo_api/pull/5)
* [TodoApi.Accounts.Authentication + Todos.WithOwner](https://github.com/serradura/phx-todo_api/pull/4)
* [Create TodoApi.Accounts.Authentication](https://github.com/serradura/phx-todo_api/pull/3)
* [Add CurrentUser context](https://github.com/serradura/phx-todo_api/pull/2)---
To start your Phoenix server:
* Install dependencies with `mix deps.get`
* Create and migrate your database with `mix ecto.setup`
* Start Phoenix endpoint with `mix phx.server`Now you can visit [`localhost:4000`](http://localhost:4000) from your browser.
Ready to run in production? Please [check our deployment guides](https://hexdocs.pm/phoenix/deployment.html).
---
To run the test suite:
* `mix test`
## Learn more
* Official website: http://www.phoenixframework.org/
* Guides: https://hexdocs.pm/phoenix/overview.html
* Docs: https://hexdocs.pm/phoenix
* Mailing list: http://groups.google.com/group/phoenix-talk
* Source: https://github.com/phoenixframework/phoenix