My first Test Project to get accustomed to Laravel. It is a Blog with Registration, Posts and Comments. Build with Laravel/ui, has standard Bootstrap scaffolding.
-
clone or Download Repository
-
open Terminal and cd into Project Folder
-
run the following Commands in the Terminal:
composer install
npm install
-
create a Database
-
run:
php artisan key:generate
-
create .evn file from .env.example
-
change DB connection in your .env file
-
run:
php artisan storage:link
php artisan migrate:fresh --seed
-
go to app/Providers/AppServiceProvider.php and uncomment View::share('newestPosts', Post::latest()->take(5)->get());
You can use the following Account to Login
Email: [email protected]
Password: password
- Click on "Register"
- Fill in the Form
- Verify your Email
- Click on "Dashboard"
- Click on "My Posts"
- Click on "New Post"
- Fill in all the Fields
- Click "Create Post"
- User can create Account
- Email verification
- User can Post
- User can Update Posts
- User can Delete Posts
- User can Comment
- User can Vote on Comments
- User can Comment a Comment (one Layer)
- Posts have Categories
- Posts have a Header Image
- The newest Posts are shown in the Sidebar