Skip to content

maskeynihal/laravel-with-experimental-nextjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Session Authentication with Laravel and Next

Backend

  • Laravel

Installation

  1. Change directory to server

    cd server
  2. Create .env file

    cp .env.example .env
  3. Install dependencies

    ./vendor/bin/sail composer install
  4. Generate key

    ./vendor/bin/sail artisan key:generate
  5. Start the application with docker using sail

    ./vendor/bin/sail up
  6. Run migration and seeder file

    ./vendor/bin/sail artisan migrate:fresh --seed

Frontend

  • Next.js with experimental app folder

Installation

  1. Change directory to app

    cd app
  2. Create .env file

    cp .env.example .env
  3. Install dependencies

    yarn install
  4. Start the application

    yarn dev

About

laravel-with-experimental-nextjs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages