Skip to content

Parking system for vehicles. By default the parking has 20 spots. The cars take 1 spot, trucks 3 spots. 5 min after park vehicle the user receives email.

Notifications You must be signed in to change notification settings

Bellov/vehicle_parking

Repository files navigation

Laravel WebApp for Parking Vehicles

Setup: 1. Clone the repository

git clone https://github.com/Bellov/vehicle_parking

2. Configure MariaDB database

CREATE DATABASE parking
GRANT ALL PRIVILEGES ON DATABASE parking TO your 'user name';
\q

3. Run the application

Mac Os, Ubuntu and windows users continue here:

  • Open the console and cd your project root directory
composer install
php artisan key:generate
npm install
npm run dev
  • Then open .env and change username and password as per MariaDB installation.
DB_CONNECTION=pgsql
DB_HOST=hostname
DB_PORT=5432
DB_DATABASE=Your database name
DB_USERNAME=Your database username
DB_PASSWORD=Your database password
php artisan migrate
php artisan serve

You can now access the project at localhost:8000

Home Page

  • The project have queue for sending email 5 minutes after make new record:
php artisan queue:work

Tool:

Mailtrap

  • To setup mailtrap just write your user_name / password from the website in .env
MAIL_MAILER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=username
MAIL_PASSWORD=password
MAIL_ENCRYPTION=tls

About

Parking system for vehicles. By default the parking has 20 spots. The cars take 1 spot, trucks 3 spots. 5 min after park vehicle the user receives email.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published