Larajournal is a blogging laravel app.
Contributions are always welcome!
See contributing.md
for ways to get started.
Please adhere to this project's code of conduct
.
- Admin / Author dashboard
- Create / Read / Update / Delete Posts [CRUD]
- WYSIWYG Post editory
- Login / Register
- Auth
- Promote / Demote users to Admin and/or author
Authors can create new posts and edit or delete posts they made themselves.
Administrators can promote/demote accounts, create new posts, edit/delete any posts.
Client: Laravel, TailwindCSS
Server: Nginx, MySQL
Prerequisites:
- PHP (https://www.php.net/manual/en/install.php)
- Composer (https://getcomposer.org/download/)
- MySQL (https://dev.mysql.com/downloads/installer/)
Clone the project
git clone git@github.com:rico-vz/Larajournal.git
Go to the project directory
cd Larajournal
Install dependencies
composer install
Set-up the Laravel app
php artisan key:generate
Copy the .env example to its own file, and edit it to its needs.
cp .env.example .env
Generate Laravel App Key
php artisan key:generate
Migrate the database
php artisan migrate
Seed the database with posts + 1 admin user
php artisan db:seed
The login details are:
yourname@mail.com:test1234
Finally, serve the website:
php artisan serve