This project is a news portal web application inspired by Detik.com, built using the Laravel framework. The application features a clean architecture for managing articles, categories, authors, and users, following Laravel's best practices.
An ERD (Entity Relationship Diagram) is provided in the project to better understand the database schema and relationships among the entities.
This Laravel-based application includes:
- Migration – Manage and version-control the database schema
- Model & Eloquent ORM – Interact with the database using elegant syntax
- Controller – Handle request logic and connect models to views
- Laravel Auth & Middleware – User authentication and role-based access control
- Blade View – Templating engine for rendering dynamic HTML pages
- CRUD – Full Create, Read, Update, Delete operations for resources
- Eloquent Relationships – Define relationships like one-to-many and many-to-many
Follow the steps below to run this project locally:
git clone https://github.com/dikiyana/menit.git
cd menit
composer install
npm install && npm run dev
cp .env.example .env
php artisan key:generate
Edit .env
file to match your local database configuration.
php artisan migrate
php artisan db:seed
php artisan serve
Visit http://localhost:8000 in your browser.
This project is open-source and licensed under the MIT License.