├── public ├── favicon.ico ├── robots.txt ├── mix-manifest.json ├── .htaccess ├── web.config └── index.php ├── bootstrap ├── cache │ └── .gitignore └── app.php ├── resources ├── js │ ├── app.js │ └── bootstrap.js ├── css │ └── app.css ├── views │ ├── pages │ │ ├── about.blade.php │ │ ├── index.blade.php │ │ ├── dashboard.blade.php │ │ ├── services.blade.php │ │ └── index2.blade.php │ ├── posts │ │ ├── userpost.blade.php │ │ ├── index.blade.php │ │ ├── edit.blade.php │ │ ├── show.blade.php │ │ └── create.blade.php │ ├── layouts │ │ ├── app2.blade.php │ │ └── app.blade.php │ ├── components │ │ └── post.blade.php │ ├── auth │ │ ├── login.blade.php │ │ └── register.blade.php │ └── welcome.blade.php └── lang │ └── en │ ├── pagination.php │ ├── auth.php │ ├── passwords.php │ └── validation.php ├── storage ├── logs │ └── .gitignore ├── app │ ├── public │ │ └── .gitignore │ └── .gitignore ├── debugbar │ └── .gitignore └── framework │ ├── testing │ └── .gitignore │ ├── views │ └── .gitignore │ ├── cache │ ├── data │ │ └── .gitignore │ └── .gitignore │ ├── sessions │ └── .gitignore │ └── .gitignore ├── database ├── .gitignore ├── seeders │ └── DatabaseSeeder.php ├── factories │ ├── PostFactory.php │ ├── ArticleFactory.php │ └── UserFactory.php └── migrations │ ├── 2021_03_10_150853_add_username_to_users_table.php │ ├── 2021_03_11_210808_create_posts_table.php │ ├── 2014_10_12_100000_create_password_resets_table.php │ ├── 2021_03_12_094341_create_likes_table.php │ ├── 2014_10_12_000000_create_users_table.php │ ├── 2019_08_19_000000_create_failed_jobs_table.php │ ├── 2021_04_01_082739_create_articles_table.php │ └── 2021_04_01_163019_create_tags_table.php ├── .gitattributes ├── tests ├── TestCase.php ├── Unit │ └── ExampleTest.php ├── Feature │ └── ExampleTest.php └── CreatesApplication.php ├── .styleci.yml ├── .gitignore ├── .editorconfig ├── app ├── Models │ ├── Like.php │ ├── Tag.php │ ├── Post.php │ ├── Article.php │ └── User.php ├── Policies │ └── PostPolicy.php ├── Http │ ├── Controllers │ │ ├── auth │ │ │ ├── LogoutController.php │ │ │ ├── LoginController.php │ │ │ └── RegisterController.php │ │ ├── DashBoardController.php │ │ ├── Controller.php │ │ ├── UserPostController.php │ │ ├── PostLikeController.php │ │ ├── PagesController.php │ │ ├── PostController.php │ │ └── ArticlesController.php │ ├── Middleware │ │ ├── EncryptCookies.php │ │ ├── VerifyCsrfToken.php │ │ ├── TrustHosts.php │ │ ├── PreventRequestsDuringMaintenance.php │ │ ├── TrimStrings.php │ │ ├── Authenticate.php │ │ ├── TrustProxies.php │ │ └── RedirectIfAuthenticated.php │ └── Kernel.php ├── Providers │ ├── BroadcastServiceProvider.php │ ├── AppServiceProvider.php │ ├── AuthServiceProvider.php │ ├── EventServiceProvider.php │ └── RouteServiceProvider.php ├── Exceptions │ └── Handler.php └── Console │ └── Kernel.php ├── package.json ├── routes ├── channels.php ├── console.php ├── api.php └── web.php ├── server.php ├── webpack.mix.js ├── config ├── cors.php ├── services.php ├── view.php ├── hashing.php ├── broadcasting.php ├── filesystems.php ├── queue.php ├── logging.php ├── cache.php ├── mail.php ├── auth.php ├── database.php ├── session.php └── app.php ├── .env.example ├── phpunit.xml ├── artisan ├── composer.json └── README.md /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bootstrap/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /resources/js/app.js: -------------------------------------------------------------------------------- 1 | require('./bootstrap'); 2 | -------------------------------------------------------------------------------- /storage/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite 2 | *.sqlite-journal 3 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /storage/app/public/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/debugbar/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/app/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !public/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /storage/framework/testing/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/cache/data/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/sessions/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !data/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /public/mix-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "/js/app.js": "/js/app.js", 3 | "/css/app.css": "/css/app.css" 4 | } 5 | -------------------------------------------------------------------------------- /resources/css/app.css: -------------------------------------------------------------------------------- 1 | @import "tailwindcss/base"; 2 | @import "tailwindcss/components"; 3 | @import "tailwindcss/utilities"; -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | *.css linguist-vendored 3 | *.scss linguist-vendored 4 | *.js linguist-vendored 5 | CHANGELOG.md export-ignore 6 | -------------------------------------------------------------------------------- /resources/views/pages/about.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | @section('content') 3 |
This is the about Me
5 | @endsection 6 | -------------------------------------------------------------------------------- /storage/framework/.gitignore: -------------------------------------------------------------------------------- 1 | compiled.php 2 | config.php 3 | down 4 | events.scanned.php 5 | maintenance.php 6 | routes.php 7 | routes.scanned.php 8 | schedule-* 9 | services.json 10 | -------------------------------------------------------------------------------- /resources/views/pages/index.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | @section('content') 3 |No available articles
14 | 15 | @endforelse 16 | 17 | {{-- {{$articles->links()}} --}} 18 | 19 | 20 |Posted {{$posts->count()}} {{Str::plural('post',$posts->count())}} and recieved {{$user->receivedLikes->count()}} {{Str::plural('like',$posts->count())}}
9 |{{ $post->body }}
5 | @can('delete', $post) 6 | 11 | @endcan 12 | 13 |{{ $article->body }}
13 | 14 | @foreach ($article->tags as $tag) 15 | {{-- {{$tag->name}} --}} 16 | {{ $tag->name }} 17 | @endforeach 18 |