Skip to content

Simple bank app made that use CRUD in Laravel as a project for completing university course

License

Notifications You must be signed in to change notification settings

Ziusz/bank-demo

Repository files navigation

My simple project of bank app made that use CRUD in Laravel for completing university course.

Features

  • Users system
  • Verification link on e-mail to activate an account
  • 3 roles in the system (Client, Support, Admin)
  • Transactions system
  • List of transaction of logged in user
  • CRUD to manage users as an admin
  • Light/Dark mode based on a system theme

Requirements

  • PHP 8.2+
  • Composer
  • Node.js 20.11+
  • npm

Installation

  • Clone repo
  • Set up the new configuration file
cp .env.example .env 
  • Update and uncomment database values in new created .env file
  • Install all PHP dependencies via composer
composer install
  • Run migrations
php artisan migrate
  • Create new encryption key
php artisan key:generate
php artisan config:cache
  • Install all Node.js dependencies via npm
npm install
  • Create manifest.json file
npm run build
  • Serve website
php artisan serve

Adding new admin

  • Register normal account by register form on site
  • Open tinker (console programming environment)
php artisan tinker
  • Assign role "admin" to newly created user
use App\Models\User;
use Spatie\Permission\Models\Role;
$user = User::find(1); # or any other ID (change 1 in that case)
$user->assignRole('admin');
exit();

About

Simple bank app made that use CRUD in Laravel as a project for completing university course

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages