How to Create a Blog in YII2

Hi Guys, First Install composer (click here) If you already installed leave it. Download basic Yii2 Template and follow below commands for user migrations. composer create-project nenad/yii2-basic-template blog Create a sample database and give the credentials at blog/_protected/config/db.php. Run below migration commands for user access. cd blog/_protected ./yii migrate ./yii rbac/init Then Create a tableContinue reading “How to Create a Blog in YII2”

Getting started with MEAN (Mysql, Express, Angular 6, Node) Part-3

This session, I am explaining about node server creation and table operations from MySQL database using sequelize models. First, initialize Node using below command and fill the required details. npm init now create index.js (mentioned in entry point) file and paste below code. //======== Import Required Files =============== var express = require(‘express’); var bodyparser =Continue reading “Getting started with MEAN (Mysql, Express, Angular 6, Node) Part-3”

Getting started with MEAN (Mysql, Express, Angular 6, Node) Part-2

I am explaining about node and MySQL connections using sequelize. You need to install Express, Sequelize, Body Parser, Express Handlebars, Cors and JWT using below command npm i express sequelize mysql2 body-parser express-handlebars cors jsonwebtoken Express – Node js framework. Sequelize – ORM concept for Node. Body Parser – It is used to handle theContinue reading “Getting started with MEAN (Mysql, Express, Angular 6, Node) Part-2”

Create your website with WordPress.com
Get started