Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/faisalawanisee/nuxt-laravel-auth
Nuxt 3 + Laravel Authentication Starter Kit for Rapid Development
https://github.com/faisalawanisee/nuxt-laravel-auth
auth authentication laravel laravel-vue laravel-vue-auth nuxt nuxt3 vue vue3 vuejs
Last synced: 8 days ago
JSON representation
Nuxt 3 + Laravel Authentication Starter Kit for Rapid Development
- Host: GitHub
- URL: https://github.com/faisalawanisee/nuxt-laravel-auth
- Owner: Faisalawanisee
- License: gpl-3.0
- Created: 2024-07-08T20:01:04.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-26T17:09:52.000Z (about 2 months ago)
- Last Synced: 2024-10-11T15:41:05.268Z (about 1 month ago)
- Topics: auth, authentication, laravel, laravel-vue, laravel-vue-auth, nuxt, nuxt3, vue, vue3, vuejs
- Language: PHP
- Homepage:
- Size: 621 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nuxt 3 + Laravel Authentication
Discover the perfect solution for user authentication with the Nuxt 3 and Laravel boilerplate. Combining the strengths of both frameworks, it provides a solid and secure foundation for any web project.
## Setup API (Laravel)
Switch to the api folder
cd api
Install all the dependencies using composer
composer install
Copy the example env file and make the required configuration changes in the .env file
cp .env.example .env
Generate a new application key
php artisan key:generate
Run the database migrations (**Set the database connection in .env before migrating**)
php artisan migrate
Start the local development server
php artisan serve
The api can be accessed at [http://localhost:8000/api](http://localhost:8000/api).
## Setup Frontend (Nuxt 3)
Switch to the frontend folder
cd frontend
Install all the dependencies
npm install
Start the local development server
npm run dev
The frontend can be accessed at [http://localhost:3000](http://localhost:3000).