Commit Graph
45 Commits
Author SHA1 Message Date
Mathias adee79675c Implemented the code for the shortener 2022-09-09 01:09:11 +02:00
Mathias cb17c65dcc Changed the default value of the shortened id in the ShortenedLink.ts 2022-09-09 01:07:55 +02:00
Mathias a4e8b0b839 Created authenticate.ts#hasRank 2022-09-09 01:07:34 +02:00
Mathias 558e84ff7f Created the validation object for the link shortener 2022-09-09 01:07:09 +02:00
Mathias 1514edad54 Created the validation util 2022-09-09 01:06:54 +02:00
Mathias 0e04039c15 Added the joi dependency to the package.json 2022-09-09 01:06:34 +02:00
Mathias a02206781f Integrated the /session route into the api server 2022-09-08 23:55:33 +02:00
Mathias bc5c62a8b9 Created the /session route 2022-09-08 23:55:15 +02:00
Mathias 0555645573 Added the discord client id, secret & redirect uri as environment values to the envCheck util 2022-09-08 23:54:50 +02:00
Mathias 846ed71982 Created the discord controller 2022-09-08 23:54:23 +02:00
Mathias bb23b7ce01 Added the discord-oauth2 package to the package.json 2022-09-08 23:49:31 +02:00
Mathias 8c5a4a94a0 Removed the action socket from the backend -> Moving into another repo 2022-09-08 22:30:33 +02:00
Mathias 499a44cad7 Integrated the authentication middleware into the api server 2022-09-08 22:30:03 +02:00
Mathias 227ae68555 Created the authentication middleware 2022-09-08 22:29:38 +02:00
Mathias b8c8fa700b The cdn now only starts if the gbucket.json file has been provided 2022-09-08 22:21:51 +02:00
Mathias dfeb238469 Added the google authentication check into the envCheck util 2022-09-08 22:21:31 +02:00
Mathias 0d5834f53d Created the Media model 2022-09-08 22:09:49 +02:00
Mathias 5d192dc12a Created the ShortenedLink model 2022-09-08 22:08:59 +02:00
Mathias 0f623486ce Created the Token model 2022-09-08 22:08:06 +02:00
Mathias 63478822ba Created the User model 2022-09-08 22:04:32 +02:00
Mathias 363f373e97 Updated strictFunctionTypes -> false in tsconfig.json 2022-09-08 22:01:20 +02:00
Mathias d307a0e3e8 Added the gbucket.json to the .gitignore 2022-09-07 21:26:45 +02:00
Mathias 391dec0026 Integrated the error middleware into the api.ts 2022-09-06 21:40:34 +02:00
Mathias 49bce43abe Created the error.ts middleware 2022-09-06 21:40:17 +02:00
Mathias d7949eabc3 Created the .env template file 2022-09-06 21:01:25 +02:00
Mathias f2aa6ad49f Added the shortener, cdn & action socket to the app.ts 2022-09-06 20:51:32 +02:00
Mathias 896b2a1aab Added the shortener, cdn and action socket port 2022-09-06 20:48:51 +02:00
Mathias 25d1c7b2d1 Added the action socket server 2022-09-06 20:14:12 +02:00
Mathias 383e81663d Refreshed the yarn.lock file 2022-09-06 20:13:51 +02:00
Mathias 260aaf9389 Added the ws dependency & the types of ws to the package.json 2022-09-06 20:13:23 +02:00
Mathias c6278410e6 Created the content delivery server/service 2022-09-06 20:05:33 +02:00
Mathias 97a3d218cf Created the shortener server/service 2022-09-06 20:03:33 +02:00
Mathias 7dcc6a58d7 Integrated the database into the app.ts & added the start method 2022-09-06 19:59:20 +02:00
Mathias 1aa963bdc9 Created the api server 2022-09-06 19:58:17 +02:00
Mathias 95f8bd7fff Added the default typescript configuration file 2022-09-06 19:56:30 +02:00
Mathias 4412c90db9 Added the express dependency & the express types to the package.json 2022-09-06 19:53:35 +02:00
Mathias 8fbf1fefa4 The app.ts now loads & checks the environment values on start 2022-09-06 18:31:08 +02:00
Mathias c582320cef Created the env check util 2022-09-06 18:30:15 +02:00
Mathias 322b95e2c4 Added the start & development script in the package.json 2022-09-06 18:29:22 +02:00
Mathias 20aa9fae2c Renamed the app.js -> app.ts 2022-09-06 18:28:47 +02:00
Mathias 0dfbea6fc4 Added the needed typescript dependencies 2022-09-06 18:28:06 +02:00
Mathias c2b0b8ab61 Added the dotenv & mongoose dependency to the package.json 2022-09-06 17:50:44 +02:00
Mathias ef00332877 Created the app.js 2022-09-06 17:43:59 +02:00
Mathias 4a714fcc4d Created the package.json & yarn.lock file 2022-09-06 17:43:52 +02:00
Mathias 06818789ce Added .vscode & .idea to the .gitignore 2022-09-06 17:43:12 +02:00