Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/SagarMaheshwary/laravel-basics

Laravel project tutorial code for beginners.
https://github.com/SagarMaheshwary/laravel-basics

beginner-friendly laravel laravel-framework laravel5 mysql php php7 tutorial-code

Last synced: about 1 month ago
JSON representation

Laravel project tutorial code for beginners.

Awesome Lists containing this project

README

        

# Laravel 5.8 Basics
This is an example application built on Laravel and Bootstrap for beginners.

## Running this web application

- make sure you already have [xampp](https://www.apachefriends.org/index.html) installed.

- clone this repository to your local machine or just download the zip from the above green button.

- install [Composer](https://getcomposer.org/download) first, then run this command in your command-line (you should be inside your project directory).
```bash
composer install
```

- rename .env.example to .env and add your database and mail driver credentials ([mailtrap](https://mailtrap.io) is preferred).

- generate application key.

```bash
php artisan key:generate
```

- create tables.

```bash
php artisan migrate
```

- Link the public disk for image upload (this will create a symbolic link to storage/app/public directory).
```bash
php artisan storage:link
```

- Start the development server.

```bash
php artisan serve
```

> In Laravel, all the requests are directed to index.php in public directory so, if it does not work with your apache then create a virtual host or use dev server instead of opening it from http://localhost/your-laravel-project/public

## Features
- Todos CRUD.
- Form Validation.
- Flash Messages.
- Authentication.
- Email Verification.
- Password Reset.
- Eloquent One to Many and Many to One Relationship.
- Image Upload.

## Tutorial Links
- [Laravel 5.8 From Scratch: Intro, Setup , MVC Basics, and Views (Part 1)](https://medium.com/@sagarmaheshwary31/laravel-5-8-from-scratch-intro-setup-mvc-basics-and-views-74d46f93fe0c)
- [Laravel 5.8 From Scratch: Config, ENV, Migrations, and Todos CRUD (Part 2)](https://medium.com/@sagarmaheshwary31/laravel-5-8-from-scratch-config-env-migrations-and-todos-crud-7c771bcac802)
- [Laravel 5.8 From Scratch: Authentication, Middleware, Email Verify and Password Reset (Part 3)](https://medium.com/@sagarmaheshwary31/laravel-5-8-from-scratch-authentication-middleware-email-verify-and-password-reset-93a4b2103794)
- [Laravel 5.8 From Scratch: Eloquent Relationships and Image Upload (Part 4)](https://medium.com/@sagarmaheshwary31/laravel-5-8-from-scratch-eloquent-relationships-and-image-upload-49daece52a24)

-

Star the repo to show your love!!