This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "conference-app", | |
"version": "1.0.0", | |
"main": "app-server.js", | |
"engines": { | |
"node": "4.1.2", | |
"npm": "3.5.2" | |
}, | |
"description": "", | |
"dependencies": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "conference-app", | |
"description": "Conference App", | |
"version": "0.0.0", | |
"homepage": "https://github.com/kutsaniuk/cosmicapp-conference", | |
"license": "MIT", | |
"private": true, | |
"dependencies": { | |
"angular": "~1.4.x", | |
"angular-mocks": "~1.4.x", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express = require('express'); | |
var bodyParser = require('body-parser'); | |
var app = express(); | |
app.set('port', process.env.PORT || 3000) | |
app.use(express.static(__dirname)) | |
app.use(bodyParser.json()) | |
var http = require('http').Server(app) | |
// Route | |
app.get('/', (req, res) => { | |
res.sendFile(__dirname + '/index.html'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|----app | |
| |----about | |
| |----admin | |
| |----auth | |
| |----global | |
| |----partner | |
| |----register | |
| |----schedule | |
| |----speakers | |
| |----user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en" ng-app="main"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta name="description" content=""> | |
<meta name="author" content=""> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var gulp = require('gulp'), | |
webserver = require('gulp-webserver'), | |
minifyCSS = require('gulp-minify-css'), | |
concat = require('gulp-concat'), | |
wiredep = require('wiredep').stream, | |
gulpNgConfig = require('gulp-ng-config'), | |
autoprefixer = require('gulp-autoprefixer'), | |
b2v = require('buffer-to-vinyl'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
'use strict'; | |
angular | |
.module('main', [ | |
'ui.router', | |
'ui.bootstrap', | |
'ngMask', | |
'ngCookies', | |
'ngRoute', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
'use strict'; | |
angular | |
.module('main') | |
.controller('AuthCtrl', AuthCtrl); | |
function AuthCtrl(crAcl, $state, AuthService, Flash, $log) { | |
var vm = this; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
'use strict'; | |
angular | |
.module('main') | |
.service('AuthService', function ($http, | |
$cookieStore, | |
$q, | |
$rootScope, | |
URL, BUCKET_SLUG, READ_KEY, WRITE_KEY) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
'use strict'; | |
angular | |
.module('main') | |
.service('UserService', function ($http, | |
$cookieStore, | |
$q, | |
$rootScope, | |
URL, BUCKET_SLUG, READ_KEY, WRITE_KEY) { |
OlderNewer