This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This is the base validator class. All other validator classes extends this class thus sharing resuable methods. | |
* | |
* @author Ilori Stephen A <stephenilori458@gmail.com> | |
* @returns {Object} | |
* @name Validator | |
* @param {Null} | |
* | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Base Model & Mongoose ORM */ | |
const Mongoose = require('mongoose'); | |
/** | |
* This Class contains the schema required to model a user collection. It also contains reusable methods imported from the mongoose library. | |
* | |
* @author Ilori Stephen A | |
* @returns {Object} | |
* @name Signup | |
* @alias Register |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Application Configurations | |
APP_KEY= | |
APP_NAME=Martian_Mongodb | |
APP_VERSION=1.0.0 | |
APP_URL=http://martian_mongo_flavour | |
APP_PORT=4400 | |
APP_ENV=development | |
NODE_ENV=development | |
#Database Configurations |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "laravel/laravel", | |
"type": "project", | |
"description": "The Laravel Framework.", | |
"keywords": [ | |
"framework", | |
"laravel" | |
], | |
"license": "MIT", | |
"require": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"private": true, | |
"scripts": { | |
"dev": "npm run development", | |
"development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", | |
"watch": "npm run development -- --watch", | |
"watch-poll": "npm run watch -- --watch-poll", | |
"hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --disable-host-check --config=node_modules/laravel-mix/setup/webpack.config.js", | |
"prod": "npm run production", | |
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>{{ config('app.name', 'Ld-Talk') }}</title> | |
<meta name="application-name" content="{{ config('app.name', 'Ld-Talk') }}"> | |
<!-- Fonts --> | |
<link href="//fonts.googleapis.com/css?family=Raleway:400,300,600" rel="stylesheet" type="text/css"> | |
<!-- Icons --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* First we will load all of this project's JavaScript dependencies which | |
* includes Vue and other libraries. It is a great starting point when | |
* building robust, powerful web applications using Vue and Laravel. | |
*/ | |
window.Vue = require('vue'); | |
// Imports.... | |
import VueRouter from 'vue-router'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Welcome from '../views/Welcome'; | |
import Dashboard from '../views/Dashboard'; | |
export default [ | |
{ path: '/', alias: '', name: 'Welcome', component: Welcome }, | |
{ path: '/home', alias: '/dashboard', name: 'Dashboard', component: Dashboard }, | |
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<main> | |
<DashboardComponent></DashboardComponent> | |
</main> | |
</template> | |
<script type="text/javascript"> | |
import DashboardComponent from '../components/DashboardComponent'; | |
export default { | |
components: { |