ctfdavis / Phoenix-Todo-Rest-API-Demo

A Phoenix Rest API Demo on Email, Auth & CRUD

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Phoenix REST API Demo

Primary packages

  • Phoenix: web server infrastructure
  • Ecto: ORM
  • Joken: token management
  • Argon2: cryptography
  • Swoosh: email client
  • Premailex: email formatting
  • Open API Spex: open api specification

Features

  • Authentication
    • Register
    • Account activation via email
      • HEEX template for activation
    • Resend activation email
    • Sign in
    • Forget password
      • HEEX template with password reset form
  • Todos
    • Listing (optionally filter by tags)
    • CRUD
  • Tags
    • Listing
    • CRUD
  • Swagger

Getting started

To start your Phoenix server:

  • Create a Postgresql database instance following the settings in config/dev.exs
  • Run mix setup to install and setup dependencies
  • Start Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server

Now you can visit localhost:4000 from your browser. The homepage contains links to the swagger ui and local mailbox for demo purposes.

About

A Phoenix Rest API Demo on Email, Auth & CRUD


Languages

Language:Elixir 94.4%Language:JavaScript 3.5%Language:HTML 2.1%Language:CSS 0.1%