Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:
Welcome to the Authentication with CRUD Operation project! This project demonstrates a Laravel application that includes user authentication and CRUD (Create, Read, Update, Delete) operations.
- User registration and login
- Password reset functionality
- CRUD operations for managing resources
- User-friendly error handling and validation
Before you begin, ensure you have met the following requirements:
- PHP >= 7.4
- Composer
- Laravel 11.x
- MySQL
Follow these steps to install and set up the project:
-
Clone the repository:
bash git clone https://github.com/your-username/authentication-with-crud.git cd authentication-with-crud
-
Install dependencies:
bash composer install npm install npm run dev
-
Copy the
.env.example
file to.env
and configure your environment variables:bash cp .env.example .env
-
Generate an application key:
bash php artisan key:generate
-
Run database migrations:
bash php artisan migrate
-
Seed the database (optional):
bash php artisan db:seed
-
Start the local development server:
bash php artisan serve
Your application should now be running on
http://localhost:8000
.
- Register: Navigate to
/account/register
to create a new account. - Login: Navigate to
/account/login
to log in with your credentials. - Logout: Click the logout link in the navigation bar.
After logging in, you can perform CRUD operations on the resources provided by the application.
Contributions are welcome! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature-name
). - Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/your-feature-name
). - Open a pull request.