Before proceed, you may want to follow up
- Send Welcome Email Notification with Event and Listener and
- Enable Account Activation in Order to Login to the System
Create a middleware
Before proceed, you may want to follow up
Create a middleware
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="http://code.jquery.com/jquery.min.js"></script> | |
| <link href="http://getbootstrap.com/dist/css/bootstrap.css" rel="stylesheet" type="text/css"/> | |
| <script src="http://getbootstrap.com/dist/js/bootstrap.js"></script> | |
| <meta charset="utf-8"> | |
| <title>JS Bin</title> | |
| <style> |
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | |
| <meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
| <title>Vuex Experiment</title> | |
| <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> | |
| </head> |
| <template> | |
| <div class="row"> | |
| <div class="col-md-10 col-md-offset-1 pb-20"> | |
| <form id="new-revision" class="new-revision" v-on:submit.prevent="submit"> | |
| <div class="form-group"> | |
| <textarea name="body" id="body" rows="4" class="form-control" placeholder="Do you have something to say?" v-model="form.body"></textarea> | |
| </div> | |
| <button type="submit" class="btn btn-primary" :disabled="isSubmitting">Add Revision</button> | |
| <button type="button" class="btn btn-link" @click="hideReply" v-if="revision" :disabled="isSubmitting">Cancel</button> |
| # Enter into workspace docker container | |
| alias workspace="cd ~/Code/laradock && docker-compose exec workspace bash && cd -" | |
| # Enter into mysql docker container | |
| alias mysql="cd ~/Code/laradock && docker-compose exec mysql bash && cd -" | |
| # Enter into nginx docker container | |
| alias nginx="cd ~/Code/laradock && docker-compose exec nginx bash && cd -" | |
| # Restart nginx after add a new site |
| server { | |
| listen 80; | |
| listen [::]:80; | |
| set $MAGE_ROOT /var/www/magento; | |
| server_name magento.localhost; | |
| root /var/www/magento/pub; | |
| index index.php index.html index.htm; |
| server { | |
| listen 80; | |
| listen [::]:80; | |
| # For https | |
| # listen 443 ssl; | |
| # listen [::]:443 ssl ipv6only=on; | |
| # ssl_certificate /etc/nginx/ssl/default.crt; | |
| # ssl_certificate_key /etc/nginx/ssl/default.key; |
| <template> | |
| <div id="app"> | |
| <div class="flex justify-center"> | |
| <div class="min-h-screen flex overflow-x-scroll py-12"> | |
| <div | |
| v-for="column in columns" | |
| :key="column.title" | |
| class="bg-gray-100 rounded-lg px-3 py-3 column-width rounded mr-4" | |
| > | |
| <p class="text-gray-700 font-semibold font-sans tracking-wide text-sm">{{column.title}}</p> |