wip: add api auth and /resume endpoint
This commit is contained in:
parent
22e2f6005f
commit
2c6d063717
28 changed files with 2486 additions and 271 deletions
8
configs/config.yml
Normal file
8
configs/config.yml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
environment: "prod"
|
||||
|
||||
auth:
|
||||
api_keys:
|
||||
foo: foosecret
|
||||
bar: barsecret
|
||||
|
||||
database: ./example.db.json
|
||||
110
configs/example.db.json
Normal file
110
configs/example.db.json
Normal file
|
|
@ -0,0 +1,110 @@
|
|||
{
|
||||
"basics": {
|
||||
"name": "John Doe",
|
||||
"label": "Programmer",
|
||||
"image": "",
|
||||
"email": "john@gmail.com",
|
||||
"phone": "(912) 555-4321",
|
||||
"url": "https://johndoe.com",
|
||||
"summary": "A summary of John Doe…",
|
||||
"location": {
|
||||
"address": "2712 Broadway St",
|
||||
"postalCode": "CA 94115",
|
||||
"city": "San Francisco",
|
||||
"countryCode": "US",
|
||||
"region": "California"
|
||||
},
|
||||
"profiles": [{
|
||||
"network": "Twitter",
|
||||
"username": "john",
|
||||
"url": "https://twitter.com/john"
|
||||
}]
|
||||
},
|
||||
"work": [{
|
||||
"name": "Company",
|
||||
"position": "President",
|
||||
"url": "https://company.com",
|
||||
"startDate": "2013-01-01",
|
||||
"endDate": "2014-01-01",
|
||||
"summary": "Description…",
|
||||
"highlights": [
|
||||
"Started the company"
|
||||
]
|
||||
}],
|
||||
"volunteer": [{
|
||||
"organization": "Organization",
|
||||
"position": "Volunteer",
|
||||
"url": "https://organization.com/",
|
||||
"startDate": "2012-01-01",
|
||||
"endDate": "2013-01-01",
|
||||
"summary": "Description…",
|
||||
"highlights": [
|
||||
"Awarded 'Volunteer of the Month'"
|
||||
]
|
||||
}],
|
||||
"education": [{
|
||||
"institution": "University",
|
||||
"url": "https://institution.com/",
|
||||
"area": "Software Development",
|
||||
"studyType": "Bachelor",
|
||||
"startDate": "2011-01-01",
|
||||
"endDate": "2013-01-01",
|
||||
"score": "4.0",
|
||||
"courses": [
|
||||
"DB1101 - Basic SQL"
|
||||
]
|
||||
}],
|
||||
"awards": [{
|
||||
"title": "Award",
|
||||
"date": "2014-11-01",
|
||||
"awarder": "Company",
|
||||
"summary": "There is no spoon."
|
||||
}],
|
||||
"certificates": [{
|
||||
"name": "Certificate",
|
||||
"date": "2021-11-07",
|
||||
"issuer": "Company",
|
||||
"url": "https://certificate.com"
|
||||
}],
|
||||
"publications": [{
|
||||
"name": "Publication",
|
||||
"publisher": "Company",
|
||||
"releaseDate": "2014-10-01",
|
||||
"url": "https://publication.com",
|
||||
"summary": "Description…"
|
||||
}],
|
||||
"skills": [{
|
||||
"name": "Web Development",
|
||||
"level": "Master",
|
||||
"keywords": [
|
||||
"HTML",
|
||||
"CSS",
|
||||
"JavaScript"
|
||||
]
|
||||
}],
|
||||
"languages": [{
|
||||
"language": "English",
|
||||
"fluency": "Native speaker"
|
||||
}],
|
||||
"interests": [{
|
||||
"name": "Wildlife",
|
||||
"keywords": [
|
||||
"Ferrets",
|
||||
"Unicorns"
|
||||
]
|
||||
}],
|
||||
"references": [{
|
||||
"name": "Jane Doe",
|
||||
"reference": "Reference…"
|
||||
}],
|
||||
"projects": [{
|
||||
"name": "Project",
|
||||
"startDate": "2019-01-01",
|
||||
"endDate": "2021-01-01",
|
||||
"description": "Description...",
|
||||
"highlights": [
|
||||
"Won award at AIHacks 2016"
|
||||
],
|
||||
"url": "https://project.com/"
|
||||
}]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue