Skip to content

Starter Boilerplate SPA made with Laravel 7 + React Hooks + Tailwind CSS

License

Notifications You must be signed in to change notification settings

Aguztinus/laravel-react-tailwindcss

Repository files navigation

Laravel-React-Tailwind SPA Boilerplate

Starter Boilerplate SPA made with Laravel and React.

Features

  • Laravel 7
  • Axios
  • React Hook, React Context for state management
  • Authentication with Oauth2
  • Login, register, reset password
  • Flexible Page Layout
  • Flexible, Protected Routing
  • Sass
  • Tailwind CSS
  • ESlint

Installation

  • Clone the repo
  • Installing all Composer & NPM dependencies.
composer install && npm install
  • Copy .env.example to .env
  • Generate app key
php artisan key:generate
  • Run database migration
php artisan cron:refresh-database
  • Compiling Assets
npm run dev
  • Boot up a server
php artisan serve