Skip to content

A website using Laravel 7 and having a authentication system.

Notifications You must be signed in to change notification settings

aloyonnet/laravel-auth

Repository files navigation

About Laravel-auth

This project is a simple website which use laravel elements to make a user system. It covers some different things :

  • Authentication
  • Registration
  • Logout
  • Gates
  • Template separation
  • Administration (to use roles and access restrictions)

Needs (what I used)

Installation

Get the project from github:

$ git clone https://github.com/aloyonnet/laravel-auth.git

Install the dependencies:

$ composer install

link your app to a database:
create a copy of .env.example rename it .env and open it

/.env
$ DB_CONNECTION=...
$ DB_HOST=.........
$ DB_PORT=.........
$ DB_DATABASE=.....
$ DB_USERNAME=.....
$ DB_PASSWORD=.....

create the content of the database:

$ php artisan make:migration
$ php artisan migrate

Use

for non production use, you can launch a server (with https://localhost:8000 by default) using :

$ cd my_project
$ php artisan serve

if you try on remote and the command don't work use :

$ cd my_project
$ php artisan serve --host [your_ip_here]

If laravel binary is not installed, you can replace the command with: php -S localhost:8000

Data fixtures :

$ php artisan db:seed

About

A website using Laravel 7 and having a authentication system.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published