nuralirr / VueJs-Yii2-Notes

Notes application using VueJs on frontend side and Yii2 Rest API on backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vue.js & Yii 2 REST API notes application


FEATURES

  • Login
  • Registration
  • Create/Update/Delete personal notes
  • SCSS
  • Several Vue.js layouts
  • Redirect to login page when accessing notes with invalid API access token
  • Redirect to home page when accessing login or registration page with valid API access token

DEMO

Vue.js notes demo - https://notes.thecodeholic.com
Yii2 REST API - https://api.notes.thecodeholic.com

REQUIREMENTS

  • PHP >=5.6.0

For development you need the following tools

  • Node.js and npm (For vue.js application you need to have node.js installed)
  • Composer
  • Postman is optional but helpful tool to test your REST API

INSTALLATION

  1. Clone the project
  2. Go to the project root folder
  3. And run composer install
  4. If you want customize vue.js side, go to the vuejs folder
  5. And run npm install

CONFIGURATION

Database

  1. Create database
  2. Create config/db.local.php and return the following configuration array.
return [
    'class' => 'yii\db\Connection',
    'dsn' => 'mysql:host=localhost;dbname=vuejsyii2notes',
    'username' => 'root',
    'password' => '1234',
    'charset' => 'utf8',
];

NOTES:

About

Notes application using VueJs on frontend side and Yii2 Rest API on backend

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:PHP 70.5%Language:Vue 13.8%Language:JavaScript 6.4%Language:Shell 4.4%Language:CSS 2.6%Language:Batchfile 1.5%Language:HTML 0.9%