mhmdasli/demo-proj

Demo market

Installs: 5

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Language:JavaScript

Type:project

dev-master 2019-01-13 11:34 UTC

This package is auto-updated.

Last update: 2024-04-13 22:42:24 UTC


README

this project is a basic PHP MVC system ,as demo the system hosts sample site and admin area in tow separate themes, these themes are affiliate market site that shows the products and admin area used fo CRUD.

Packages used

Backend

composer/composer

used for auto loading classes and managing dependencies.

symfony/httpFoundation:

used for handling request/response object.

twig/twig:

templating engine to manage the html themes.

Frontend

bootstrap:

framework for building the html views.

jquery:

specially for manipulating the DOM.

frameworkJs:

custom js library that handle the ajax requests by using html data-attributes.

Local installation

clone and install composer or install via composer

composer create-project mhmdasli/demo-proj YourFolderName --stability=dev

add .env file to your root and include this variables

APP_NAME=Demo
APP_DEBUG=True
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=
DB_USERNAME=
DB_PASSWORD=

ADMIN_LOGIN=
ADMIN_PASSWORD=
  • to use the admin area you must fill the admin password and login

  • If you plan on using a database, create database in your local server and run this command:

php appInstall

Contact

You can communicate with me using the following E-mail: m.ali2910@gmail.com

Coding standards

Please follow the following guides and code standards: