Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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).