Skip to content

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

Notifications You must be signed in to change notification settings

kamranhossain/auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published