Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotfix/refactor #34

Draft
wants to merge 51 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
5acfe79
Added changes to Vacancy PUT
Nov 14, 2020
aada06b
SHIIP-6
Nov 15, 2020
a69b464
languages route added
weeebdev Nov 15, 2020
50080f7
fixed issue
weeebdev Nov 15, 2020
6328112
Merge branch 'master' into hotfix/refactor
weeebdev Nov 15, 2020
d31167e
Added new tables
Nov 16, 2020
ec57fa5
Request bodies added
Nov 16, 2020
1a9c8df
Experience type added
Nov 16, 2020
ac3ba8e
Users added
Nov 16, 2020
982cf08
License added
Nov 16, 2020
76eee5e
created mutateObject function and put method for languages
weeebdev Nov 17, 2020
50bd566
delete method for languages has been created
weeebdev Nov 17, 2020
887ab0b
gridfs for languages implemented. Need to fix issues with mongoose
weeebdev Nov 17, 2020
2b71ad3
downgraded mongoose
weeebdev Nov 18, 2020
1dd0c31
fixed issue with mongoose models
weeebdev Nov 18, 2020
00238cc
Languages root added
weeebdev Nov 18, 2020
fe6b2f1
fixed null logo in post
weeebdev Nov 18, 2020
ece6af8
images route added
weeebdev Nov 18, 2020
a35d236
now put of languages works with files
weeebdev Nov 18, 2020
8ee0d4a
delete image method added
weeebdev Nov 18, 2020
3dcdf4e
minor changes
weeebdev Nov 18, 2020
70fc946
Institutions added
Nov 20, 2020
cab6303
Merge branch 'docs/api' of https://github.com/AlphaKennyBudy/Mentorsh…
Nov 20, 2020
4560e65
Skills addes
Nov 20, 2020
ba7882f
Language level added
Nov 21, 2020
32515fc
Experience added
Nov 21, 2020
c7e7b24
CV and License added
Nov 21, 2020
645bd4f
Country and Group added
Nov 21, 2020
b95cd49
Currency and Experience type added
Nov 21, 2020
314dff9
Category and Charge type added
Nov 21, 2020
56cb2d1
Duty type added
Nov 21, 2020
bd6ee8d
Time type added
Nov 21, 2020
67b6427
CVs and languages added
Nov 21, 2020
00478d0
Education added
Nov 21, 2020
1d8751c
CV & Experience, Language added
Nov 21, 2020
dc7a485
Fixed with Achievements
Nov 21, 2020
61a297f
CV and license added
Nov 21, 2020
6fec52f
Fixed CV and Skill
Nov 21, 2020
ec4cf7f
Student added
Nov 30, 2020
a4e6dd6
Created CV router
Merphiles Dec 2, 2020
8d2b26a
License and Group routers added
Merphiles Dec 2, 2020
ceee2c6
Achievement, category and experience routers added
Merphiles Dec 3, 2020
29dda08
Charge type, country and currency routers added
Merphiles Dec 3, 2020
4ac2755
Added CV with language, achievement, experience, license and skill ro…
Merphiles Dec 3, 2020
30704dd
Added DutyType, Education and Experience type routers
Merphiles Dec 3, 2020
a324b73
Deleted model Group copy
Merphiles Dec 3, 2020
ea0c3d2
Added last routers, Language level and Time type
Merphiles Dec 3, 2020
ba8aab2
Documentation for ImageRouter.ts
weeebdev Dec 9, 2020
3c71809
Merge branch 'hotfix/refactor' of https://github.com/AlphaKennyBudy/M…
weeebdev Dec 9, 2020
e94d561
check github apps
weeebdev Dec 23, 2020
cbffcbe
check github apps
weeebdev Dec 23, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,221 changes: 1,218 additions & 3 deletions .insomnia/ApiSpec/spc_54f34525ed9f4fee9b8d7797e8d1b09f.yml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
_id: env_0442ec27bcd95fadf8779b10ce968cb4dba25515
type: Environment
parentId: wrk_3dd3d75737e34464b7c124e055f55bdb
modified: 1605290217181
modified: 1605699584982
created: 1605290217181
name: Base Environment
data: {}
name: Base environment
data:
base_url: "{{ scheme }}://{{ host }}{{ base_path }}"
dataPropertyOrder: null
color: null
isPrivate: false
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
_id: env_env_0442ec27bcd95fadf8779b10ce968cb4dba25515_sub
type: Environment
parentId: env_0442ec27bcd95fadf8779b10ce968cb4dba25515
modified: 1605699584968
created: 1605369339709
name: OpenAPI env
data:
scheme: http
base_path: ""
host: localhost:5000
dataPropertyOrder: null
color: null
isPrivate: false
metaSortKey: 1605369339709
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
_id: req_wrk_3dd3d75737e34464b7c124e055f55bdb032165c4
type: Request
parentId: fld_wrk_3dd3d75737e34464b7c124e055f55bdb69c7c732
modified: 1605699584701
created: 1605626375441
url: "{{ base_url }}/сharge_types/{{ :id }}"
name: Updated charge type
description: ""
method: PUT
body:
mimeType: application/json
text: |-
{
"chargeType": "string"
}
parameters: []
headers:
- name: Content-Type
value: application/json
authentication: {}
metaSortKey: -1605626375441
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
_id: req_wrk_3dd3d75737e34464b7c124e055f55bdb0a9ba8e1
type: Request
parentId: fld_wrk_3dd3d75737e34464b7c124e055f55bdbc16175e3
modified: 1605699584816
created: 1605369339687
url: "{{ base_url }}/vacancies"
name: Add a new vacancy to the database
description: ""
method: POST
body:
mimeType: application/json
text: |-
{
"title": "string",
"salary": 0,
"currencyId": "string",
"chargeType": "string",
"vacancyPicture": "string",
"categoryId": "string",
"dutyTypeId": "string",
"cityId": "string",
"companyId": "string",
"experince": 0,
"experienceType": "string",
"timeTypeId": "string",
"description": "string",
"requirements": "string"
}
parameters: []
headers:
- name: Content-Type
value: application/json
authentication: {}
metaSortKey: -1605369339687
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
_id: req_wrk_3dd3d75737e34464b7c124e055f55bdb0ac7ff2a
type: Request
parentId: fld_wrk_3dd3d75737e34464b7c124e055f55bdb0a894db7
modified: 1605699584486
created: 1605626375385
url: "{{ base_url }}/groups/{{ :id }}"
name: Updated
description: ""
method: PUT
body:
mimeType: application/json
text: |-
{
"groupName": "string"
}
parameters: []
headers:
- name: Content-Type
value: application/json
authentication: {}
metaSortKey: -1605626375385
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
_id: req_wrk_3dd3d75737e34464b7c124e055f55bdb106f17c0
type: Request
parentId: fld_wrk_3dd3d75737e34464b7c124e055f55bdbaed46479
modified: 1605699584508
created: 1605626375404
url: "{{ base_url }}/companies/{{ :id }}"
name: Delete company
description: ""
method: DELETE
body: {}
parameters: []
headers: []
authentication: {}
metaSortKey: -1605626375404
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
_id: req_wrk_3dd3d75737e34464b7c124e055f55bdb14d28534
type: Request
parentId: fld_wrk_3dd3d75737e34464b7c124e055f55bdb7622f0d8
modified: 1605699584684
created: 1605626375429
url: "{{ base_url }}/duty_types/{{ :id }}"
name: Updated
description: ""
method: PUT
body:
mimeType: application/json
text: |-
{
"dutyType": "string"
}
parameters: []
headers:
- name: Content-Type
value: application/json
authentication: {}
metaSortKey: -1605626375429
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
_id: req_wrk_3dd3d75737e34464b7c124e055f55bdb14edb06d
type: Request
parentId: fld_wrk_3dd3d75737e34464b7c124e055f55bdb0265a28b
modified: 1605706065718
created: 1605629994837
url: "{{ base_url }}/languages/5fb4345a4b2a271612a587cb"
name: Delete language
description: ""
method: DELETE
body: {}
parameters: []
headers: []
authentication: {}
metaSortKey: -1605629994837
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
_id: req_wrk_3dd3d75737e34464b7c124e055f55bdb198ea7d7
type: Request
parentId: fld_wrk_3dd3d75737e34464b7c124e055f55bdbaed46479
modified: 1605699584505
created: 1605626375402
url: "{{ base_url }}/companies/{{ :id }}"
name: Get company by ID
description: ""
method: GET
body: {}
parameters: []
headers: []
authentication: {}
metaSortKey: -1605626375402
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
_id: req_wrk_3dd3d75737e34464b7c124e055f55bdb24023a7c
type: Request
parentId: fld_wrk_3dd3d75737e34464b7c124e055f55bdb0a894db7
modified: 1605699584483
created: 1605626375382
url: "{{ base_url }}/groups/{{ :id }}"
name: Delete groups
description: ""
method: DELETE
body: {}
parameters: []
headers: []
authentication: {}
metaSortKey: -1605626375382
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
_id: req_wrk_3dd3d75737e34464b7c124e055f55bdb2b65fad1
type: Request
parentId: fld_wrk_3dd3d75737e34464b7c124e055f55bdbc16175e3
modified: 1605699584771
created: 1605626375502
url: "{{ base_url }}/vacancies/{{ :id }}"
name: Get vacancy by ID
description: ""
method: GET
body: {}
parameters: []
headers: []
authentication: {}
metaSortKey: -1605626375502
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
_id: req_wrk_3dd3d75737e34464b7c124e055f55bdb2d01faa2
type: Request
parentId: fld_wrk_3dd3d75737e34464b7c124e055f55bdb7622f0d8
modified: 1605699584690
created: 1605626375434
url: "{{ base_url }}/duty_types"
name: Add a new duty type to the database
description: ""
method: POST
body:
mimeType: application/json
text: |-
{
"dutyType": "string"
}
parameters: []
headers:
- name: Content-Type
value: application/json
authentication: {}
metaSortKey: -1605626375434
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
_id: req_wrk_3dd3d75737e34464b7c124e055f55bdb2dc35db7
type: Request
parentId: fld_wrk_3dd3d75737e34464b7c124e055f55bdbebdea362
modified: 1605699584742
created: 1605626375483
url: "{{ base_url }}/currencies/{{ :id }}"
name: Updated currency
description: ""
method: PUT
body:
mimeType: application/json
text: |-
{
"currencyName": "string",
"logo": "string"
}
parameters: []
headers:
- name: Content-Type
value: application/json
authentication: {}
metaSortKey: -1605626375483
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
_id: req_wrk_3dd3d75737e34464b7c124e055f55bdb35f90a40
type: Request
parentId: fld_wrk_3dd3d75737e34464b7c124e055f55bdbc217d7ab
modified: 1605699584638
created: 1605626375417
url: "{{ base_url }}/time_types/{{ :id }}"
name: Updated
description: ""
method: PUT
body:
mimeType: application/json
text: |-
{
"timeType": "string"
}
parameters: []
headers:
- name: Content-Type
value: application/json
authentication: {}
metaSortKey: -1605626375417
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
_id: req_wrk_3dd3d75737e34464b7c124e055f55bdb42cd2e1c
type: Request
parentId: fld_wrk_3dd3d75737e34464b7c124e055f55bdbc217d7ab
modified: 1605699584654
created: 1605626375420
url: "{{ base_url }}/time_types"
name: Get all time types from database
description: ""
method: GET
body:
mimeType: application/json
text: |-
{
"timeType": "string"
}
parameters: []
headers:
- name: Content-Type
value: application/json
authentication: {}
metaSortKey: -1605626375420
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
Loading