Simple CRUD method with authentication login & regist
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- PHP >= 7.4
- Composer
- Node.js (for Laravel Mix)
- MySQL
- XAMPP
-
Clone the repository:
git clone https://github.com/bagaspra16/laravel-crud.git
-
Navigate into the project directory:
cd project-name
-
Install Composer dependencies:
composer install
-
Copy .env.example to .env and configure your environment variables, especially the database connection settings:
cp .env.example .env
-
Generate the application key:
php artisan key:generate
-
Run the database migrations (Ensure your database connection is configured in .env):
php artisan migrate
-
Install npm dependencies and compile assets:
npm install && npm run dev
php artisan serve
Find the email & password login in database & seeders folder.