damianchojnacki / simple-auth

Simple authentication email service.

Home Page:https://simple-auth-dach.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Auth

Installation

Set up env:

  • DB
  • MAIL

Install dependencies.

composer install
yarn

Generate app key and migrate

php artisan key:generate
php artisan migrate

Serve

yarn run dev
php artisan serve

App structure

app
├───Http
│   └───Controllers
│           AuthController.php
├───Mail
│       AccountDeleted.php
│       ConfirmEmail.php
│   
└───Models
        User.php

Tests

   PASS  Tests\Feature\ViewsTest
  ✓ user can view registration page
  ✓ guest cant view confirm email page

   PASS  Tests\Feature\RegistrationTest
  ✓ user can register
  ✓ user cant register twice at the same email
  ✓ user can confirm email
  ✓ user can delete account
  ✓ guest cant delete user account

Please aware - notification email can be in SPAM folder.

About

Simple authentication email service.

https://simple-auth-dach.herokuapp.com/


Languages

Language:PHP 93.1%Language:Blade 6.0%Language:Shell 0.8%