Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cryptedsnow/called-system
Call management application using Laravel UI (codes in Portuguese).
https://github.com/cryptedsnow/called-system
laravel laravel-ui-bootstrap php
Last synced: about 2 months ago
JSON representation
Call management application using Laravel UI (codes in Portuguese).
- Host: GitHub
- URL: https://github.com/cryptedsnow/called-system
- Owner: CryptedSnow
- Created: 2024-01-12T21:48:07.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-08-23T00:06:17.000Z (4 months ago)
- Last Synced: 2024-08-23T01:27:36.231Z (4 months ago)
- Topics: laravel, laravel-ui-bootstrap, php
- Language: PHP
- Homepage: https://called-system.crypted-snow.serv00.net/
- Size: 545 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Attention!
Follow the steps to set the application on your local machine.
Step N°1 - Run the following commands below to install the dependencies (Verify the existence of `Composer`, `Node` and `NPM` on your machine).
```
composer install
cp .env.example .env
php artisan cache:clear
composer dump-autoload
php artisan key:generate
```Step N°2 - In `.env` file set the following snippet to connect the application to your database (Verify your database, it is necessary create a database to create the migrations).
```
# MySQL
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=name_database
DB_USERNAME=root
DB_PASSWORD=# PostgreSQL
DB_CONNECTION=pgsql
DB_HOST=127.0.0.1
DB_PORT=5432
DB_DATABASE=name_database
DB_USERNAME=postgres
DB_PASSWORD=
```Step N°3 - Execute the migrations.
```
php artisan migrate
```Step N°4 - Use the commands to create some populated tables to some selection fields at forms (and users table).
```
php artisan db:seed
```Step N°5 - View the migrations been dones e verify status them.
```
php artisan migrate:status
```Step N°6 - Run the following command to install `Vite`.
```
npm install
```Step N°7 - You need decide an option to start the `Vite`.
```
# Run Vite to server development
npm run dev
# Create and version assets for production... (I usually choose this on my local machine)
npm run build
```Step N°8 - Run the following command to start Apache to run the application.
```
php artisan serve
```With help of [Laravel Spatie](https://spatie.be/docs/laravel-permission/v5/introduction), exist two roles user: **Admin** and **User**. Making certains roles user has more privileges than others, it is very important you run the seeds to those users be created.
* Nome: Mario
```
Email: [email protected]
Password: 12345678
Role: Admin, User
Permission: NULL
```* Nome: Luigi
```
Email: [email protected]
Password: 12345678
Role: User
Permission: NULL
```Some functionality are exclusives to **Admin**, others types of roles has not the same privileges.
### Packages to study (They are used in this application)
- **[Laravel Spatie](https://spatie.be/docs/laravel-permission/v5/introduction)**
- **[LogViewer](https://github.com/ARCANEDEV/LogViewer)**
- **[laravel-pt-BR-localization](https://github.com/lucascudo/laravel-pt-BR-localization)**
- **[pt-br-validator](https://github.com/LaravelLegends/pt-br-validator)**
- **[sweetalert2](https://sweetalert2.github.io/)**
- **[laravel-dompdf](https://github.com/barryvdh/laravel-dompdf)**
- **[maatwebsite/excel](https://packagist.org/packages/maatwebsite/excel)**
- **[Laravel UI Auth](https://www.laravelia.com/post/laravel-9-auth-laravel-9-authentication-example)**