A simple web application blog for CTF writeups, where users can write, read and share their writeups with others. Also, users can comment on wrtieups!
Also, admin can manage posts and users for the site through the admin controls.
The application is consist of 6 main models that are ( User, Profile, Post, Tag, Comment , Maillist). The relation between models ranges from one-to-many and many-many.
- CRUD
- Routing
- Pagination
- MVC Framework
- Store Media Files
- Responsive Layout
- Mail and Notification
- Authorisation Middleware
- Admin/Profile Dashboard ( in progress )
Laravel Framework
Clone the project into
git clone https://github.com/sc0des/blog.git
Go to the project directory
cd blog
Before composer installation make sure you have
-
Laragon running
-
Created a new database
-
Copied .env example to local directory
-
Edited .env with database configurations
Install composer packages
composer install
Generate Application Key
php artisan key:generate
Migrate database
php artisan migrate:fresh --seed
Link to storage for media files
php artisan storage:link
Other dependencies (optional) *
npm install
npm run dev
Run the application
php artisan serve
Site Address
http://localhost:8000
To access as admin for the application use the following credentials
- username: admin@writeups.com
- passworrd: admin123
To access as user for the application use can register or can use the following credentials
- username: test@writeups.com
- passworrd: test1234
- Welcome Page
- Blogs Page
- Tag Page
Thank you to ndeblauw for introducing and teaching Laravel Framework.