codepotatoltd/spa-potato

The Laravel Framework.

v8.6.2 2021-09-20 09:12 UTC

This package is auto-updated.

Last update: 2021-12-02 23:00:22 UTC


README

This repository has been created to save us time when we have a new client project. This comes pre-installed with the latest version of Laravel and Vue. It has been pre-configured to run as an SPA and has a full authentication system ready out of the box. Since the authentication system was created using Laravel Breeze, you can quite easily customise the login and registration behaviour.

Features of this repository

  • Authentication system built
  • SPA-ready, with routes and Vue 2.0 installed
  • Vuex pre-installed
  • Inter font setup as the default font
  • TailwindCSS with purging
  • User in the state for easy access
  • "Session" Vuex module that stores the CSRF Token and "flash" data for easy access.

How to set up

  1. Create a new repository and select "spa-potato" as a repository template
  2. Clone the new repository you have just made to your local system
  3. Run composer install, cp .env.example .env, php artisan key:generate, npm install and npm run dev
  4. Finally, create a database for the app and run php artisan migrate.