This project is a basic login application built with Laravel. It allows users to register, log in, and log out using secure authentication. Additionally, it includes a basic CRUD (Create, Read, Update, Delete) functionality for managing resources.
- User registration.
- Secure login.
- Logout functionality.
- Form validation.
- Database configuration for user storage.
- Basic CRUD operations for managing resources.
Ensure your system has the following components installed:
Follow the steps below to install and set up the project:
git clone https://github.com/sergiofnz/laravel-CRUD.git
cd laravel-CRUD
composer install
npm install
Copy the example file and edit it with your database configuration:
cp .env.example .env
Edit the .env
file and update the following fields:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your_database_name
DB_USERNAME=your_username
DB_PASSWORD=your_password
php artisan migrate
npm run dev
php artisan serve
Access the application at http://localhost:8000.
- Register a new user.
- Log in with the credentials you just registered.
- Log out when finished.
- Use the CRUD interface to manage resources:
- Create: Add new records through the form.
- Read: View a list of records.
- Update: Edit existing records.
- Delete: Remove records from the database.
routes/web.php
: Defines the application routes.app/Http/Controllers/Auth
: Authentication controllers.app/Http/Controllers
: Controllers for CRUD operations.resources/views
: Views for authentication and CRUD interfaces.
- Laravel
- Blade (template engine)
- Bootstrap (for front-end design)
- MySQL (database)
Thank you for using this project!