Here's a more polished version of the instructions

How to Set Up the Appure Laravel Project

Step 1: Install the Laravel Project

  1. Run the following command to create a new Laravel project:

   composer create-project laravel/laravel:^10.0 appure-app

  1. Once the installation is complete, navigate to the project directory:

   cd appure-app

  1. Start the development server to verify everything is working:

   php artisan serve

  1. Open your browser and go to the URL displayed (usually [http://127.0.0.1:8000]) to confirm the Laravel application is running correctly.

Step 2: Set Up the Database

  1. In the root directory of your project, open the `.env` file.

 

  1. Locate the line starting with `DB_DATABASE=` and replace it with your desired database name, for example:

 

 

   DB_DATABASE=project-db

   

 

  1. Save the changes, then run the following command to create the database and apply migrations:

 

  

   php artisan migrate

   

 

  1. If prompted to create the database, type “yes” and press Enter. The database will be created, and you can verify it by checking in phpMyAdmin.

Step 3: Install Authentication with Laravel Breeze

 

  1. Install Laravel Breeze by running:

 

 

   composer require laravel/breeze –dev

   

 

  1. Run the following command to install Breeze, choose your preferred frontend stack and testing options if prompted:

 

   php artisan breeze:install

   

 

  1. Run the migrations and set up frontend dependencies:

 

   php artisan migrate

   npm install

   npm run dev

Once setup is complete, Laravel Breeze will provide basic user authentication (login and registration functionality). You can further customize it as needed for your project.

Inquiry now