maintenance (structure): Full revamp of the project code structure

This commit is contained in:
Mickael KERJEAN
2018-03-02 13:53:53 +11:00
parent 25683b3b56
commit f093f00a4b
128 changed files with 1720 additions and 2666 deletions

10
client/helpers/path.js Normal file
View File

@ -0,0 +1,10 @@
import Path from 'path';
export function pathBuilder(path, filename, type = 'file'){
let tmp = Path.resolve(path, filename)
if(type === 'file'){
return tmp;
}else{
return tmp + '/';
}
}