diff --git a/.insomnia/ApiSpec/spc_8436777c430547adb1085fd68e18eace.yml b/.insomnia/ApiSpec/spc_8436777c430547adb1085fd68e18eace.yml new file mode 100755 index 0000000..9c02a2f --- /dev/null +++ b/.insomnia/ApiSpec/spc_8436777c430547adb1085fd68e18eace.yml @@ -0,0 +1,8 @@ +_id: spc_8436777c430547adb1085fd68e18eace +type: ApiSpec +parentId: wrk_01922deddc7342ddb4d070126530214b +modified: 1666813426216 +created: 1666813426216 +fileName: Rate +contents: "" +contentType: yaml diff --git a/.insomnia/Environment/env_25eaa5dc66424aeabb57ef52fb713da8.yml b/.insomnia/Environment/env_25eaa5dc66424aeabb57ef52fb713da8.yml new file mode 100755 index 0000000..cfda6d2 --- /dev/null +++ b/.insomnia/Environment/env_25eaa5dc66424aeabb57ef52fb713da8.yml @@ -0,0 +1,14 @@ +_id: env_25eaa5dc66424aeabb57ef52fb713da8 +type: Environment +parentId: env_9b022c4edb1e6f6aa558cd2b00817d97d73ac78a +modified: 1666813483038 +created: 1666813431942 +name: local +data: + URL: http://localhost:8000 +dataPropertyOrder: + "&": + - URL +color: null +isPrivate: false +metaSortKey: 1666813431942 diff --git a/.insomnia/Environment/env_589a320c58d54efc8e9ab96f6506ebd0.yml b/.insomnia/Environment/env_589a320c58d54efc8e9ab96f6506ebd0.yml new file mode 100755 index 0000000..985993e --- /dev/null +++ b/.insomnia/Environment/env_589a320c58d54efc8e9ab96f6506ebd0.yml @@ -0,0 +1,14 @@ +_id: env_589a320c58d54efc8e9ab96f6506ebd0 +type: Environment +parentId: env_9b022c4edb1e6f6aa558cd2b00817d97d73ac78a +modified: 1666813482405 +created: 1666813453631 +name: yayeet.cf +data: + URL: https://html5.yayeet.cf/api +dataPropertyOrder: + "&": + - URL +color: null +isPrivate: false +metaSortKey: 1666813453631 diff --git a/.insomnia/Environment/env_9b022c4edb1e6f6aa558cd2b00817d97d73ac78a.yml b/.insomnia/Environment/env_9b022c4edb1e6f6aa558cd2b00817d97d73ac78a.yml new file mode 100755 index 0000000..3832e74 --- /dev/null +++ b/.insomnia/Environment/env_9b022c4edb1e6f6aa558cd2b00817d97d73ac78a.yml @@ -0,0 +1,11 @@ +_id: env_9b022c4edb1e6f6aa558cd2b00817d97d73ac78a +type: Environment +parentId: wrk_01922deddc7342ddb4d070126530214b +modified: 1666813430220 +created: 1666813426222 +name: Base Environment +data: {} +dataPropertyOrder: {} +color: null +isPrivate: false +metaSortKey: 1666813426222 diff --git a/.insomnia/Request/req_7a775a1b9142457eb390ccd6b2e72f28.yml b/.insomnia/Request/req_7a775a1b9142457eb390ccd6b2e72f28.yml new file mode 100755 index 0000000..479499d --- /dev/null +++ b/.insomnia/Request/req_7a775a1b9142457eb390ccd6b2e72f28.yml @@ -0,0 +1,21 @@ +_id: req_7a775a1b9142457eb390ccd6b2e72f28 +type: Request +parentId: fld_c78e326c656f4411b8899877dd4f3b9c +modified: 1666813549000 +created: 1666813535408 +url: "{{ _.URL }}/user/logout" +name: Logout +description: "" +method: POST +body: {} +parameters: [] +headers: [] +authentication: {} +metaSortKey: -1666813492452 +isPrivate: false +settingStoreCookies: true +settingSendCookies: true +settingDisableRenderRequestBody: false +settingEncodeUrl: true +settingRebuildPath: true +settingFollowRedirects: global diff --git a/.insomnia/Request/req_b0a828e3ee4d4267bd036b10d6bb1bed.yml b/.insomnia/Request/req_b0a828e3ee4d4267bd036b10d6bb1bed.yml new file mode 100755 index 0000000..3c0d2c1 --- /dev/null +++ b/.insomnia/Request/req_b0a828e3ee4d4267bd036b10d6bb1bed.yml @@ -0,0 +1,30 @@ +_id: req_b0a828e3ee4d4267bd036b10d6bb1bed +type: Request +parentId: fld_c78e326c656f4411b8899877dd4f3b9c +modified: 1666813607293 +created: 1666813566609 +url: "{{ _.URL }}/user/create" +name: Create +description: "" +method: POST +body: + mimeType: application/json + text: |- + { + "username": "test", + "password": "coucou", + "role": "USER" + } +parameters: [] +headers: + - name: Content-Type + value: application/json +authentication: {} +metaSortKey: -1666813492352 +isPrivate: false +settingStoreCookies: true +settingSendCookies: true +settingDisableRenderRequestBody: false +settingEncodeUrl: true +settingRebuildPath: true +settingFollowRedirects: global diff --git a/.insomnia/Request/req_bf97a9e369584040ac3a8440c7b2bc7c.yml b/.insomnia/Request/req_bf97a9e369584040ac3a8440c7b2bc7c.yml new file mode 100755 index 0000000..90a7460 --- /dev/null +++ b/.insomnia/Request/req_bf97a9e369584040ac3a8440c7b2bc7c.yml @@ -0,0 +1,21 @@ +_id: req_bf97a9e369584040ac3a8440c7b2bc7c +type: Request +parentId: fld_c78e326c656f4411b8899877dd4f3b9c +modified: 1666813598408 +created: 1666813551357 +url: "{{ _.URL }}/user/read/ff08bc79-ba76-432d-9709-34eefbc462eb" +name: Read +description: "" +method: GET +body: {} +parameters: [] +headers: [] +authentication: {} +metaSortKey: -1666813492402 +isPrivate: false +settingStoreCookies: true +settingSendCookies: true +settingDisableRenderRequestBody: false +settingEncodeUrl: true +settingRebuildPath: true +settingFollowRedirects: global diff --git a/.insomnia/Request/req_dbbe63eee56d439bb93f4c4929fcbfb2.yml b/.insomnia/Request/req_dbbe63eee56d439bb93f4c4929fcbfb2.yml new file mode 100755 index 0000000..8e7f996 --- /dev/null +++ b/.insomnia/Request/req_dbbe63eee56d439bb93f4c4929fcbfb2.yml @@ -0,0 +1,29 @@ +_id: req_dbbe63eee56d439bb93f4c4929fcbfb2 +type: Request +parentId: fld_c78e326c656f4411b8899877dd4f3b9c +modified: 1666813618261 +created: 1666813492501 +url: "{{ _.URL }}/user/login" +name: Login +description: "" +method: POST +body: + mimeType: application/json + text: |- + { + "username": "admin", + "password": "motdepasse" + } +parameters: [] +headers: + - name: Content-Type + value: application/json +authentication: {} +metaSortKey: -1666813492502 +isPrivate: false +settingStoreCookies: true +settingSendCookies: true +settingDisableRenderRequestBody: false +settingEncodeUrl: true +settingRebuildPath: true +settingFollowRedirects: global diff --git a/.insomnia/RequestGroup/fld_c78e326c656f4411b8899877dd4f3b9c.yml b/.insomnia/RequestGroup/fld_c78e326c656f4411b8899877dd4f3b9c.yml new file mode 100755 index 0000000..3a0eac6 --- /dev/null +++ b/.insomnia/RequestGroup/fld_c78e326c656f4411b8899877dd4f3b9c.yml @@ -0,0 +1,10 @@ +_id: fld_c78e326c656f4411b8899877dd4f3b9c +type: RequestGroup +parentId: wrk_01922deddc7342ddb4d070126530214b +modified: 1666813489256 +created: 1666813489256 +name: User +description: "" +environment: {} +environmentPropertyOrder: null +metaSortKey: -1666813489256 diff --git a/.insomnia/Workspace/wrk_01922deddc7342ddb4d070126530214b.yml b/.insomnia/Workspace/wrk_01922deddc7342ddb4d070126530214b.yml new file mode 100755 index 0000000..449ede3 --- /dev/null +++ b/.insomnia/Workspace/wrk_01922deddc7342ddb4d070126530214b.yml @@ -0,0 +1,8 @@ +_id: wrk_01922deddc7342ddb4d070126530214b +type: Workspace +parentId: null +modified: 1666813426216 +created: 1666813426216 +name: Rate +description: "" +scope: design diff --git a/scripts/deploy.sh b/scripts/deploy.sh old mode 100755 new mode 100644 diff --git a/scripts/tools.py b/scripts/tools.py old mode 100755 new mode 100644