RESTful API using Laravel 5.7 with JWT Auth and SPA using Vue.js with Vuex, Vue-Router and Vue Storage
- Run
composer install
to install laravel dependencies - Run
npm run i
to install all node.js depedencies - Run
npm run dev
to compile all assets - Run
php artisan migrate
(assuming you already change the database informations in the .env file) to create tables - Run
php artisan tinker
then inside tinker Runfactory('App\User')->create(['email', 'your@shortest.email']);
which will have secret as a default password thenfactory('App\Customer', 50)->create();
to create dummies that will be displayed in the table
if you want more customize user creation, then run mysql -u username - p
then manually insert data into the users table.
- Then lastly run
php artisan serve
to start the server and test this baby.