Skip to content

dchaur/f-blog

Repository files navigation

F-Blog: Laravel + Mongodb + Vue + Vuetify

A complete app based on Laravel for the backend:

And for the frontend

The middleware auth is using:

Table of contents

Installation

Requirements:

Installing composer dependencies

composer install

Installing npm dependencies

npm install

Environment

cp .env.example .env

App Key

php artisan key:generate 

JWT Token

php artisan jwt:secret

NOTE: Bear in mind to change your mongo DB credentials

Migration-seeds

Run the migrations to load all necessary tables to run the application:

php artisan migrate

And just load basic data seeding the application with

php artisan db:seed

Testing the API

The application comes with the API tests covering the CRUD operations to run it execute this command

./vendor/bin/phpunit  // or your local phpunit installation

Testing the Frontend

To run the vue (frontend) tests you can use two commands:

npm run test-vue

Or watching them

npm run test-vue:live

Running the application

To run the application in local

 php artisan serve

And

 npm run watch

About

A Laravel + MongoDB + Vue blog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages