Skip to content

Commit 28c940b

Browse files
committed
Added Demo Code for Angular JS Login & Register
1 parent d586479 commit 28c940b

File tree

714 files changed

+81519
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

714 files changed

+81519
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/_build
2+
.idea/
3+
**/.idea/
4+
.idea/*
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
/**
3+
* Database configuration
4+
*/
5+
define('DB_USERNAME', 'root');
6+
define('DB_PASSWORD', '');
7+
define('DB_HOST', 'localhost');
8+
define('DB_NAME', 'angularcode');
9+
10+
?>
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
CREATE DATABASE IF NOT EXISTS angular_demo;
2+
3+
USE angular_demo;
4+
5+
--
6+
-- Table structure for table `user`
7+
--
8+
9+
CREATE TABLE IF NOT EXISTS `user` (
10+
`id` INT(11) NOT NULL AUTO_INCREMENT,
11+
`name` VARCHAR(50) NOT NULL,
12+
`email` VARCHAR(50) NOT NULL,
13+
`phone` VARCHAR(100) NOT NULL,
14+
`password` VARCHAR(200) NOT NULL,
15+
`address` VARCHAR(50) NOT NULL,
16+
`created` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
17+
PRIMARY KEY (`id`)
18+
) ENGINE=INNODB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
19+
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"require": {
3+
"silex/silex": "~1.3"
4+
}
5+
}

0 commit comments

Comments
 (0)