Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jenky/blog
A simple blog built on Laravel, InertiaJS and VueJS
https://github.com/jenky/blog
inertiajs laravel vue vuejs
Last synced: 4 days ago
JSON representation
A simple blog built on Laravel, InertiaJS and VueJS
- Host: GitHub
- URL: https://github.com/jenky/blog
- Owner: jenky
- Created: 2020-02-11T18:04:44.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T07:01:06.000Z (about 2 years ago)
- Last Synced: 2023-04-09T13:07:10.644Z (almost 2 years ago)
- Topics: inertiajs, laravel, vue, vuejs
- Language: PHP
- Homepage:
- Size: 5.53 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 25
-
Metadata Files:
- Readme: readme.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
## Made with [Laravel](https://laravel.com) and [Vuejs](https://vuejs.org)
## Requirements
- PHP 7.2 – 7.4
- HTTP server with PHP support (e.g.: Apache, Nginx, Caddy) (optional)
- [Composer](https://getcomposer.org)
- A supported database: MySQL, PostgreSQL or SQLite## Installation Guide
### 1. Clone the repository and install dependencies
From your console, run the following commands:
``` bash
cd
git clone https://github.com/jenky/blog
composer install
```### 2. Add the DB Credentials & APP_URL
Create your `.env` file from your console:
``` bash
cp .env.example .env
```Next make sure to create a new database and add your database credentials to your `.env` file:
```
DB_HOST=localhost
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret
```You might also want to update your website URL inside of the APP_URL variable inside the `.env` file:
```
APP_URL=http://localhost:8000
```Then generate your application key from your console:
``` bash
php artisan key:generate
```### 3. Start your development server
``` bash
php artisan serve
```You should now be able to visit http://localhost:8000 in your browser and start using the application.
> http://localhost:8000, however, is only the *development server* for Laravel. For optimal performance, you'll want to set up the production version, the configuration of which varies depending on your webserver of choice (Apache, Nginx, Caddy etc.)
## Create an User
To create new user or admin simply run
``` bash
php artisan app:user
```And you will be prompted for the user's name, email and password.
## Testing
``` bash
composer test
```