kamranhossain / auth

Authentication with `phx.gen.auth` in Phoenix LiveView apps walkthrough by Bruce Tate, Groxio Learning.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auth

Authentication with phx.gen.auth in Phoenix LiveView apps walk-through by Bruce Tate, Groxio Learning with some personal customization.

Pre Requisition

Need following thing to install in Computer

Run Phoenix Server

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Create new .env file with cp .env.example .env
  • Generate SIGNING_SALT value by running mix phx.gen.secret 32
  • Put the DB_USER, DB_PASSWORD and SIGNING_SALT values in .env
  • Load the .env values with source .env
  • Create and migrate your database with mix ecto.setup
  • Install Node.js dependencies with npm install inside the assets directory or remain in project dir and run npm install --prefix assets
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Learn more

About

Authentication with `phx.gen.auth` in Phoenix LiveView apps walkthrough by Bruce Tate, Groxio Learning.


Languages

Language:Elixir 85.5%Language:CSS 8.7%Language:HTML 3.9%Language:JavaScript 1.9%