Skip to content
/ anchor Public template

Scaffolds for SPA and API using laravel 5.8.x and nuxt 2.x

License

Notifications You must be signed in to change notification settings

psgganesh/anchor

Repository files navigation

Anchor

This package will help you create an SPA front-end and API back-end application built with laravel v 5.8 and nuxtjs 2.6 popular community packages as a base.

Version Information ✨

Codacy Badge

Version Illuminate Status PHP Version
1.0 5.8.x - 5.x.x Active support 🚀 >= 7.1.3

Packages used for API 📦

Popular community packages used so far are

Packages used for Front-end 📦

  • nuxt- v2.4.0
  • axios- v0.18.0
  • @nuxtjs/router- v1.0.1
  • bootstrap- v4.1.1
  • bootswatch- v4.3.1
  • dotenv- v5.0.1
  • font-awesome- v4.7.0
  • jquery- v3.4.0
  • js-cookie- v2.2.0
  • sweetalert2- v7.19.3
  • vform- v1.0.0
  • vue-i18n- v7.6.0

Installation 🎉

Dependency

# For laravel
$ composer install
$ php artisan migrate
$ php artisan passport:install

For production deployment of passport - please check laravel documentation for below command

$ php artisan passport:keys

For creating new modules

$ php artisan make:module <Modulename>

For publishing it's migrations / seeds / config files

$ php artisan module:publish <Modulename>

For nuxtJS - install dependencies and build SPA

$ npm install
$ npm run build

Note on the API - Over the laravel end,

  • We are using Repository and Module pattern. More information On this blog post
  • To get a basic idea on how the Modules are being used, please read this blog post about modularizing your laravel apps.

Credits 🙌

Anchor is built on the Laravel web application framework and nuxtJS; this project boilerplate would not be possible without contributions from

License 📜

The Anchor project is open source software licensed under the MIT License.

Pull Requests and code contributors 🙏

Always open for improvements and code contributors