dynuxtify

Nuxt js + Vuetify admin dashboard boilerplate design inspired by Google's Firebase.

Guides

Deployment Guide https://gist.github.com/carlomigueldy/0e15c38952e55c6e5f1f5dc62fa836aa

Self-Signed Certificate https://gist.github.com/carlomigueldy/eea8952368a2aedfc8b2453caafd729a

Let'sEncrypt SSL Cert https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-18-04

Using Google Drive API as Laravel Storage driver https://gist.github.com/carlomigueldy/492c3bc424b6c5a323767130b67e343a

Laravel Helpers https://stackoverflow.com/questions/28290332/best-practices-for-custom-helpers-in-laravel-5

Utilities

$notifier.execute({ message, type })

message String type: [success, error, info]

this.$notifier.execute({
  message: 'Your message here',
  type: 'info'
})

API: Packages

Nuxt: Packages

API: Dev Tools

  • /tinker for the web-tinker
  • /telescope for the activity logging including Job Queues, etc

API: Polymorphic Relationships

Inserting into a polymorphic relationship Reference: https://laracasts.com/discuss/channels/eloquent/inserting-polymorphic-relations

$address = new Address([
  'address_line_1' => 'Maigo, Lanao del Norte',
  'street_address' => 'Purok 2',
  'postal_code' => '9206',
  'country' => 'PH',
]);
  
$user = User::first();

$query = $user->addresses()->save($address);

Issues

Build Setup

# install dependencies
$ npm install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm run start

# generate static project
$ npm run generate

For detailed explanation on how things work, check out Nuxt.js docs.