pochetes / portfolio-api Goto Github PK
View Code? Open in Web Editor NEWThe RESTful web service that powers the data in my portfolio website.
Home Page: https://robertos-api.herokuapp.com
License: MIT License
The RESTful web service that powers the data in my portfolio website.
Home Page: https://robertos-api.herokuapp.com
License: MIT License
/projects
ParametersParameter | Required/Optional | Description | Type |
---|---|---|---|
{ projectId } |
integer |
required | The value for the Project object you want to look up. |
/projects
Parameter | Required/Optional | Description | Type |
---|---|---|---|
title |
string |
optional | The title of the project I work(ed) on. |
description |
string |
optional | The description of the project that I work(ed) on. |
image |
string |
optional | The image of the project website or pictures. |
link |
string |
required | The link to the Github repository of the project. |
Confused as to why JSON response comes out like:
"[{\"_id\": {\"$oid\": \"61bafafedbfa18faad30ac98\"}, \"firstName\": \"Brother\", \"lastName\": \"Martinez\", \"email\": \"[email protected]\", \"description\": \"Hate him.\"}]"
json_util
method when using json_dumps
to serialize the python object.The request examples for each endpoint in the /personal resource.
/experiences
path and query parameters
Entire Schema in JSON
{ "firstName": "Roberto", "lastName": "Martinez", "email": "[email protected]", "description": "I am a Sophomore at ...", "image": "<link_to_image>", "interests": [ { "topic": "AI", "image": "<link_to_image>" }, { "topic": "Innovation", "image": "<link_to_image>" }, { "topic": "Blockchain", "image": "<link_to_image>" }, { "topic": "Venture Capital", "image": "<link_to_image>" } ], "projects": [ { "id": 1, "title": "Navi Web Companion", "description": "This project is...", "image": "<link_to_image>", "link": "https://github.com/..." }, { "id": 2, "title": "RealTalk Application", "description": "This project is...", "image": "<link_to_image>", "link": "https://github.com/..." }, { "id": 3, "title": "SmartClaims", "description": "This project is...", "image": "<link_to_image>", "link": "https://github.com/..." } ], "skills": [ "Python", "C", "Javascript" ], "experiences": [ { "id": 1, "company": "Meta Platforms Inc.", "position": "Software Engineer Intern", "dateStarted": "June 2021", "dateEnded": "August 2021", "image": "<link_to_image>" }, { "id": 2, "company": "Libery Mutual Insurance", "position": "Software Engineer Intern", "dateStarted": "June 2021", "dateEnded": "August 2021", "image": "<link_to_image>" }, { "id": 3, "company": "Florida International University", "position": "Research Assistant - DaMRL", "dateStarted": "June 2021", "dateEnded": "August 2021", "image": "<link_to_image>" } ], "contact": [ { "title": "Twitter", "link": "<link_to_social>" }, { "title": "Github", "link": "<link_to_social>" }, { "title": "LinkedIn", "link": "<link_to_social>" } ] }
The response examples for each endpoint in the /personal
resource
All of the ENDPOINTS and main description, version, config, maybe add one.
/projects
Response{
"projects": [
{
"id": 1,
"title": "Navi Web Companion",
"description": "This project is...",
"image": "<link_to_image>",
"link": "https://github.com/..."
},
{
"id": 2,
"title": "RealTalk Application",
"description": "This project is...",
"image": "<link_to_image>",
"link": "https://github.com/..."
},
{
"id": 3,
"title": "SmartClaims",
"description": "This project is...",
"image": "<link_to_image>",
"link": "https://github.com/..."
}
]
}
loading...
The request examples for each endpoint in the /projects
resource
The response examples for each endpoint in the /projects
resource
Medium article
Postman docs on testing scripts
ALSO change pylint.yml to ci.yml
POST, PUT and DELETE methods for each endpoint.
The response examples for the /experiences
resource
/experiences
Response{
"experiences": [
{
"id": 1,
"company": "Meta Platforms Inc.",
"position": "Software Engineer Intern",
"dateStarted": "June 2021",
"dateEnded": "August 2021",
"image": "<link_to_image>"
},
{
"id": 2,
"company": "Libery Mutual Insurance",
"position": "Software Engineer Intern",
"dateStarted": "June 2021",
"dateEnded": "August 2021",
"image": "<link_to_image>"
},
{
"id": 3,
"company": "Florida International University",
"position": "Research Assistant - DaMRL",
"dateStarted": "June 2021",
"dateEnded": "August 2021",
"image": "<link_to_image>"
}
]
}
/personal
ParametersParameter | Required/Optional | Description | Type |
---|---|---|---|
{ interestId } |
integer |
required | The value for the Interest object you want to look up. |
{ skillId } |
integer |
required | The value for the skill of type Thing you want to look up. |
{ interestId } |
integer |
required | The value for the Interest object you want to look up. |
{ contactId } |
integer |
required | The value for the Contact object you want to look up. |
personal/info
Parameter | Required/Optional | Description | Type |
---|---|---|---|
firstName |
string |
optional | The first name of the person in the Person object. |
lastName |
string |
optional | The last name of the person in the Person object. |
email |
string |
optional | The email of the person in the Person object. |
description |
string |
required | A brief description of the person in the Person object. |
personal/interests
Parameter | Required/Optional | Description | Type |
---|---|---|---|
{ interestId } |
integer |
optional | The value for the interest object you want to look up. |
topic |
string |
optional | The name of the specific interest in the type Thing in the interest property. |
image |
string |
optional | The image of the specific interest in the type Thing in the interest property. |
personal/skills
Parameter | Required/Optional | Description | Type |
---|---|---|---|
{ skillId } |
integer |
optional | The value for the skill object you want to look up. |
topic |
string |
optional | The name of the specific skill in the type Thing in the skill property. |
image |
string |
optional | The image of the specific skill/technology in the type Thing in the skill property. |
personal/contact
Parameter | Required/Optional | Description | Type |
---|---|---|---|
{ contactId } |
integer |
optional | The value for the contact object you want to look up. |
title |
string |
optional | The title of the social media application in the type Social in the contact property. |
image |
string |
optional | The image of the specific interest in the type Thing in the contact property. |
The request examples for each endpoint in the /experiences
resource
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.