├── .DS_Store ├── .babelrc ├── .env.example ├── .eslintignore ├── .eslintrc.js ├── .eslintrc.json ├── .gitignore ├── .prettierignore ├── .prettierrc.json ├── .vscode └── settings.json ├── README.md ├── package.json ├── src ├── app │ ├── Http │ │ ├── Controllers │ │ │ └── SampleController.ts │ │ ├── Middleware │ │ │ ├── ApiAuth.ts │ │ │ ├── Multer.ts │ │ │ └── Validator.ts │ │ ├── Rules │ │ │ └── Auth │ │ │ │ └── LoginRules.js │ │ └── Utils │ │ │ └── HttpResponse.ts │ ├── Models │ │ └── UserModel.ts │ └── Providers │ │ ├── Auth.ts │ │ ├── File.ts │ │ └── Log.ts ├── database │ ├── connection.ts │ └── migrations │ │ └── 1601211438407_sample.js ├── knexfile.js ├── routes │ ├── Api │ │ └── SampleRoute.ts │ ├── api.ts │ └── socket.js ├── server.ts ├── test │ └── sample_test.js └── types.d.ts └── tsconfig.json /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fachryansyah/fotonjs/HEAD/.DS_Store -------------------------------------------------------------------------------- /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015"] 3 | } 4 | -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fachryansyah/fotonjs/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | dist -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fachryansyah/fotonjs/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fachryansyah/fotonjs/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fachryansyah/fotonjs/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | # Ignore artifacts: 2 | build 3 | coverage 4 | node_modules 5 | dist -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fachryansyah/fotonjs/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fachryansyah/fotonjs/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fachryansyah/fotonjs/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fachryansyah/fotonjs/HEAD/package.json -------------------------------------------------------------------------------- /src/app/Http/Controllers/SampleController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fachryansyah/fotonjs/HEAD/src/app/Http/Controllers/SampleController.ts -------------------------------------------------------------------------------- /src/app/Http/Middleware/ApiAuth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fachryansyah/fotonjs/HEAD/src/app/Http/Middleware/ApiAuth.ts -------------------------------------------------------------------------------- /src/app/Http/Middleware/Multer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fachryansyah/fotonjs/HEAD/src/app/Http/Middleware/Multer.ts -------------------------------------------------------------------------------- /src/app/Http/Middleware/Validator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fachryansyah/fotonjs/HEAD/src/app/Http/Middleware/Validator.ts -------------------------------------------------------------------------------- /src/app/Http/Rules/Auth/LoginRules.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fachryansyah/fotonjs/HEAD/src/app/Http/Rules/Auth/LoginRules.js -------------------------------------------------------------------------------- /src/app/Http/Utils/HttpResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fachryansyah/fotonjs/HEAD/src/app/Http/Utils/HttpResponse.ts -------------------------------------------------------------------------------- /src/app/Models/UserModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fachryansyah/fotonjs/HEAD/src/app/Models/UserModel.ts -------------------------------------------------------------------------------- /src/app/Providers/Auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fachryansyah/fotonjs/HEAD/src/app/Providers/Auth.ts -------------------------------------------------------------------------------- /src/app/Providers/File.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fachryansyah/fotonjs/HEAD/src/app/Providers/File.ts -------------------------------------------------------------------------------- /src/app/Providers/Log.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fachryansyah/fotonjs/HEAD/src/app/Providers/Log.ts -------------------------------------------------------------------------------- /src/database/connection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fachryansyah/fotonjs/HEAD/src/database/connection.ts -------------------------------------------------------------------------------- /src/database/migrations/1601211438407_sample.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fachryansyah/fotonjs/HEAD/src/database/migrations/1601211438407_sample.js -------------------------------------------------------------------------------- /src/knexfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fachryansyah/fotonjs/HEAD/src/knexfile.js -------------------------------------------------------------------------------- /src/routes/Api/SampleRoute.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fachryansyah/fotonjs/HEAD/src/routes/Api/SampleRoute.ts -------------------------------------------------------------------------------- /src/routes/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fachryansyah/fotonjs/HEAD/src/routes/api.ts -------------------------------------------------------------------------------- /src/routes/socket.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fachryansyah/fotonjs/HEAD/src/server.ts -------------------------------------------------------------------------------- /src/test/sample_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fachryansyah/fotonjs/HEAD/src/test/sample_test.js -------------------------------------------------------------------------------- /src/types.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fachryansyah/fotonjs/HEAD/src/types.d.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fachryansyah/fotonjs/HEAD/tsconfig.json --------------------------------------------------------------------------------