View User.php
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
<?php | |
namespace App\Document; | |
use Doctrine\ODM\MongoDB\Mapping\Annotations as MongoDB; | |
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; | |
use Symfony\Component\Validator\Constraints as Assert; | |
use Symfony\Component\Security\Core\User\AdvancedUserInterface; |
View HelloWorld.vue
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> | |
<div class="hello"> | |
<h1>{{ msg }}</h1> | |
<h2>Essential Links</h2> | |
<ul> | |
<li> | |
<a | |
href="https://vuejs.org" | |
target="_blank" | |
> |
View HelloWorld.vue
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> | |
<div class="hello"> | |
<h1>{{ msg }}</h1> | |
<h2>Essential Links</h2> | |
<ul> | |
<li> | |
<a | |
href="https://vuejs.org" | |
target="_blank" |
View app.vue
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> | |
<div id="app"> | |
<img src="./assets/logo.png"> | |
<HelloWorld/> | |
</div> | |
</template> | |
<script> | |
import HelloWorld from './components/HelloWorld' |
View main.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
// The Vue build version to load with the `import` command | |
// (runtime-only or standalone) has been set in webpack.base.conf with an alias. | |
import Vue from 'vue' | |
import App from './App' | |
Vue.config.productionTip = false | |
/* eslint-disable no-new */ | |
new Vue({ |
View index.html
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> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width,initial-scale=1.0"> | |
<title>mi_app_vue</title> | |
</head> | |
<body> | |
<div id="app"></div> | |
<!-- built files will be auto injected --> |
View ApiController.php
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
<?php | |
/** | |
* ApiController.php | |
* | |
* API Controller | |
* | |
* @category Controller | |
* @package MyKanban | |
* @author Francisco Ugalde | |
* @copyright 2018 www.franciscougalde.com |
View nelmio_api_doc.yaml
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
nelmio_api_doc: | |
documentation: | |
info: | |
title: My Kanban API | |
description: Este es el RESTful API de My Kanban | |
version: 1.0.0 | |
routes: # to filter documented routes | |
path_patterns: | |
- ^/api(?!/doc$) # Accepts routes under /api except /api/doc |
View ApiController.php
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
<?php | |
/** | |
* ApiController.php | |
* | |
* API Controller | |
* | |
* @category Controller | |
* @package MyKanban | |
* @author Francisco Ugalde |
NewerOlder