Initial git

This commit is contained in:
Qolzam
2017-07-06 11:20:18 +04:30
commit 7c691d8e4d
142 changed files with 13046 additions and 0 deletions

16
app/api/AuthAPI.jsx Normal file
View File

@@ -0,0 +1,16 @@
// - Import firebase components
import {firebaseAuth, firebaseRef} from 'app/firebase/'
import store from 'configureStore'
// - Check user if is authorized
export var isAuthorized = () => {
var state = store.getState()
return state.authorize.authed
}
export var isAdmin = () =>{
return true;
}