Skip to content

jeremy-step/next-laravel-cms-api

Repository files navigation

Ask DeepWiki

Next.js with Laravel backend practice project (Laravel API)

To serve (development) the application:

  • PHP 8.2 - 8.3 is required
  • Node.js 22 is required
  • The nodemon package is required (can be installed locally or globally)
  • For now, installing the Frontend CMS repository in the same directory is required - Repo Here
  • Do the following:
    • Run composer install
    • Run pnpm install
    • Duplicate the .env.example file and rename it to .env
    • Run php artisan migrate --seed and let artisan create the database.sqlite file (if you left the sqlite db connection set in your .env file)
    • Run php artisan key:generate
    • Run composer run dev
  • Default hosts for frontend and api are localhost:3000 and localhost:8000 respectively
  • For testing:
    • Duplicate the .env.testing.example file and rename it to .env.testing
    • Run php artisan key:generate --env testing
    • Run php artisan test

To install the Frontend CMS repository, see the readme: https://github.com/jeremy-step/next-laravel-cms-front/blob/main/README.md

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages