Skip to content

This is my Project from UK, it is a booking site

Notifications You must be signed in to change notification settings

limuel567/AquaSplash

Repository files navigation

Aqua Splash

Laravel PHP Framework with Adminator as admin dash

Setup:

All you need is to run these commands:

git clone https://github.com/limuel567/AquaSplash.git
cd AquaSplash 
composer install                   # Install backend dependencies
sudo chmod 777 storage/ -R         # Chmod Storage
cp .env.example .env               # Update database credentials configuration
php artisan key:generate           # Generate new keys for Laravel
php artisan migrate:fresh --seed # Run migration and seed users and categories for testing
yarn install                       # or npm i to Install node dependencies(>= node 9.x)
npm run production                 # To compile assets for prod

Note:
Username: admin@gmail.com
Password: 12345


Included Packages:

Laravel (php):

JS plugins:

Page size optimization:

  • Using Laravel Mix, all CSS and JS are in minified to one file each.
  • Laradminator leverages browser caching, using .htaccess file from html5-boilerplate
  • GZip compression is activated by default(APP_DEBUG=false => only onfile for js, and one file for css).
    • app.css: 107 KB with gzip (943 Kb without)
    • app.js : 427 KB with gzip (1.4 Mb without)

Note: If you're using Nginx check: server-configs-nginx

alt text

Create new CRUD

Creating CRUD in your application is the job you do most. Let's create Post CRUD:

  • Add new migration and model : php artisan make:model Post -m
  • Open migration file and add your columns
  • Create PostsController : php artisan make:controller PostController. fill your resource (you can use UserController with some changes) or, if you are a lazy developer like me, use a snippet and make only 2 changes
  • Duplicate resource/views/admin/users folder to posts, make changes in index.php, create.blade.php, edit.blade.php

Move Image and file ?

To move images im using a helper function based on intervention/image and variables.php you can check full example in User.php

Do you have question ?

Not hesitate, open new issue ;)

About

This is my Project from UK, it is a booking site

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages