Giter Site home page Giter Site logo

danilobatistaqueiroz / petshop_angularjs_codeigniter Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 112 KB

an e-commerce pet shop, using angularJs, codeIgniter, php7, apache2, bootstrap, mysql

ApacheConf 0.22% PHP 98.48% HTML 1.30%
codeigniter angularjs mysql bootstrap php php7

petshop_angularjs_codeigniter's Introduction

MYSQL

initializing the database

open MySql Shell \sql \c root@localhost 1234 show databases; create database petshop;

--drop table users;

CREATE TABLE IF NOT EXISTS users ( id int(11) NOT NULL AUTO_INCREMENT, login varchar(255) NOT NULL, email varchar(255) NOT NULL, pwd varchar(255) NOT NULL, type varchar(30) NOT NULL DEFAULT "customer", addr varchar(255) DEFAULT NULL, status boolean DEFAULT true, PRIMARY KEY (id), UNIQUE (login) ) ENGINE=InnoDB;

INSERT INTO users (login, email, pwd, type, addr) VALUES ('danilo', '[email protected]', '$2y$10$84fjoIzq0lCz8V/3eqFuuOc90g1wuo4AMVloT7OuyePDNO5.INec6', 'admin', '');

creating the user and granting privileges

CREATE USER 'petadmin'@'localhost' IDENTIFIED BY '123';

GRANT ALL PRIVILEGES ON * . * TO 'petadmin'@'localhost'; FLUSH PRIVILEGES;

.

CODEIGNITER

assets images

https://stackoverflow.com/questions/19820314/codeigniter-assets-folder-best-practice

.

BOOTSTRAP

menu bar left right

https://stackoverflow.com/questions/19733447/bootstrap-navbar-with-left-center-and-right-aligned-items

fixed footer

https://stackoverflow.com/questions/19330611/fixed-footer-in-bootstrap

.

ANGULARJS

organizing the directory structure

https://scotch.io/tutorials/angularjs-best-practices-directory-structure

.

petshop_angularjs_codeigniter's People

Contributors

danilobatistaqueiroz avatar

Stargazers

Gladyshev Sergey avatar

Watchers

James Cloos 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.