ADMIN Laravel Test é um projeto teste desenvolvido em PHP com framework Laravel 10. Para UI foi utilizado React TailAdmin. Esse prpjeto foi desenvolvido como teste de demonstração, consiste em um sistema de usuários com níveis ADMIN e DEFAULT e permissões individuais para usuários: Produtos, Categorias e Marcas.
O projeto tem migrations com a seguinte estrutura:
Tabela - users
id: int
name: string
role: enum('ADMIN', 'DEFAULT')
email: string
created_at : timestamp
updated_at : timestamp
Tabela - permissions
id: int
idUser: int
permission : enum('MARCAS ', 'PRODUTOS ','CATEGORIAS')
created_at : timestamp
updated_at : timestamp
Tabela - produtos
id: int
idMarca: int
idCategoria: int
title : string
created_at : timestamp
updated_at : timestamp
Tabela - categorias
id: int
title : string
created_at : timestamp
updated_at : timestamp
Tabela - marcas
id: int
title : string
created_at : timestamp
updated_at : timestamp
https://github.com/tiagocriar/admin-laravel-teste
.env.example
composer install
php artisan key:generate
php artisan migrate
php artisan db:seed
npm install
npm run build
login: [email protected]
senha: changeme
O projeto está vinculado a licença MIT.