Code Monkey home page Code Monkey logo

gomvc-admin-lucultura's Introduction

Mvc simple framework project.

Screenshot_from_2017-10-07_19-12-07.png

This is simple project mvc with tow routes:

src --controller --model --view

srcApi --Apicontroller --Apimodel

On this project:

  • Dashboard Admin
  • Permission => create user and add permissions of routes.
  • Create controller,model,view from terminal.
  • User with a specific role
  • User can modify the the personal data and password
  • User can add single or multiple movies from IMDB
  • User can add single or multiple books from google
  • Super user can change role delete or insert role, can add permissions or delete them,
  • This project support multilingual site now(it/en).
  • Notifications, if a user do an action , a notice is added to super user.
  • Super user ca added just one time, if you want to change, tou do that manualy ti db.
  • For now is suported the postgres.
  • Multiple tenmplate

Note:: Now is used the matrix dashboard template you can not use for comercial scope --> http://themedesigner.in/demo/matrix-admin/index.html.

Note:: This project is created just for begginers and i hope this project can help someone to understand the mvc and logic of permissions.

Setup

git clone https://github.com/kleviscipi/gomvc-admin-lucultura.git

after clone the repository go inside project

/App/Core/_data/nginx

and see the example of nginx file.

Create local domain http://gomvc-admin.local on /etc/hosts . Note:: for this project is used the composer if you dont have the composer installed on your computer you can take from website https://getcomposer.org/download/

After install if you don seethe rotes, can generate with command 'composer dump-autoload -a'. but before must cerate the db

CREATE DATABASE gomvc ENCODING 'UTF-8';
CREATE USER gomvc WITH PASSWORD 'plplpl';
GRANT ALL PRIVILEGES ON DATABASE gomvc TO gomvc;

and go to App/Core/_data/_schema/sql_query.sql ,sql_natyre.sql , sql_movies.sql , keys.sql install all tables. For all data install the dump App/Core/_data/_schema/gomvcdump.sql where is included , users, roles ect ect;

Command for dump postgres

  pg_dump --host=localhost --username=gomvc gomvc > gomvc-admin-lucultura/App/Core/_data/_schema/gomvcdump.sql

Login

go to url http://gomvc-admin.local/Admin/login Username: [email protected] Password: plplpl

Generate files from terminal.

go to App/Core/_data/bin from terminal

the file for creating is GoCreateFiles.php

the comand is: php GoCreateFiles.php <nameofcontroller> <nameoftable>

Note: with command you have created alle files

App/languages/en/<nameofcontroller> App/languages/it/<nameofcontroller> App/Src/Controllers/<nameofcontroller> App/Src/Models/<nameofcontroller> App/Src/Views/<nameofcontroller>/ Index,Add,View

App/SrcApi/ApiControllers/<nameofcontroller> App/SrcApi/ApiModels/<nameofcontroller>

Note: Before generate files , create the table on db and after generate files go to /Permissions/Index and add the name of controller.

Thank You!

gomvc-admin-lucultura's People

Contributors

kleviscipi avatar

Stargazers

 avatar Sayyid Shalahuddin avatar akbarwibawa avatar

Watchers

James Cloos avatar akbarwibawa avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.