Giter Site home page Giter Site logo

cryptedsnow / called-system Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 558 KB

Call management application using Laravel UI (codes in Portuguese).

Home Page: https://called-system.crypted-snow.serv00.net/

PHP 60.07% JavaScript 0.11% SCSS 0.09% Blade 39.73%
laravel laravel-ui-bootstrap php

called-system's Introduction

Laravel Logo

Build Status Total Downloads Latest Stable Version License

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 - It ill happen an error relation "gravidades" does not exist because of table chamados that receive a foreign key of table gravidades, it is necessary create manually this table to done the migration of table chamados.

php artisan migrate --path=database/migrations/2024_01_07_144249_create_gravidades_table.php

Step N°4 - Execute the migrations.

php artisan migrate

Step N°5 - Use the commands to create some populated tables to some selection fields at forms (and users table).

php artisan db:seed

Step N°6 - View the migrations been dones e verify status them.

php artisan migrate:status

Step N°7 - Run the following command to install Vite.

npm install

Step N°8 - 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°9 - Run the following command to start Apache to run the application.

php artisan serve

With help of Laravel Spatie, 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)

called-system's People

Contributors

cryptedsnow avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.