Developer API

Access portfolio content, projects, and developer data programmatically.

Quick Start

Make your first authenticated API request.

Base URL

https://megome-production.up.railway.app/public/v1

Authentication

Authorization: Bearer YOUR_PERSONAL_ACCESS_TOKEN

API Endpoints

Browse available public API resources.

Profile

Example Request

curl https://megome-production.up.railway.app/public/v1/profile \
  -H "Authorization: Bearer YOUR_PAT"

Example Response

{
  "message": "profile retrieved successfully",
  "data": {
    "id": 12,
    "userId": 7,
    "firstName": "Juan",
    "lastName": "Dela Cruz",
    "title": "Full Stack Engineer",
    "birthday": "1998-03-14T00:00:00Z",
    "bio": "Passionate about building scalable web applications and clean user experiences.",
    "phone": "+63 917 555 1023",
    "website": "https://juandelacruz.dev",
    "location": "Cebu City, Philippines",
    "profileImage": "https://cdn.example.com/profile/avatar.webp",
    "createdAt": "2026-01-08T09:12:44Z",
    "updatedAt": "2026-05-18T11:45:21Z"
  }
}

Skills

Example Request

curl https://megome-production.up.railway.app/public/v1/skill \
  -H "Authorization: Bearer YOUR_PAT"

Example Response

{
  "message": "skills retrieved successfully",
  "skills": [
    {
      "id": 1,
      "userId": 7,
      "skillName": "TypeScript",
      "proficiency": "Advanced",
      "createdAt": "2026-02-10T07:21:15Z",
      "updatedAt": "2026-04-01T10:18:42Z"
    },
    {
      "id": 2,
      "userId": 7,
      "skillName": "Go",
      "proficiency": "Intermediate",
      "createdAt": "2026-02-10T07:22:10Z",
      "updatedAt": "2026-04-01T10:19:01Z"
    },
    {
      "id": 3,
      "userId": 7,
      "skillName": "PostgreSQL",
      "proficiency": "Advanced",
      "createdAt": "2026-02-10T07:23:54Z",
      "updatedAt": "2026-04-01T10:19:26Z"
    }
  ]
}

Education

Example Request

curl https://megome-production.up.railway.app/public/v1/education \
  -H "Authorization: Bearer YOUR_PAT"

Example Response

{
  "message": "education retrieved successfully",
  "educations": [
    {
      "id": 4,
      "userId": 7,
      "school": "University of San Carlos",
      "degree": "Bachelor of Science",
      "fieldOfStudy": "Computer Science",
      "startDate": "2016-06-01T00:00:00Z",
      "endDate": "2020-04-15T00:00:00Z",
      "createdAt": "2026-01-12T08:44:11Z",
      "updatedAt": "2026-03-20T09:33:02Z"
    }
  ]
}

Projects

Example Request

curl https://megome-production.up.railway.app/public/v1/project \
  -H "Authorization: Bearer YOUR_PAT"

Example Response

{
  "message": "projects retrieved successfully",
  "projects": [
    {
      "id": 21,
      "userId": 7,
      "title": "TaskFlow",
      "description": "A collaborative productivity platform for remote engineering teams.",
      "link": "https://taskflow.app",
      "githubLink": "https://github.com/example/taskflow",
      "status": "completed",
      "isDraft": false,
      "createdAt": "2026-02-01T05:12:18Z",
      "updatedAt": "2026-05-02T10:41:55Z",
      "images": {
        "cover": "https://cdn.example.com/projects/taskflow/cover.webp",
        "screenshots": [
          "https://cdn.example.com/projects/taskflow/screen-1.webp",
          "https://cdn.example.com/projects/taskflow/screen-2.webp"
        ]
      },
      "technologies": [
        { "id": 1, "name": "Next.js", "slug": "nextjs", "category": "frontend" },
        { "id": 2, "name": "Tailwind CSS", "slug": "tailwindcss", "category": "frontend" },
        { "id": 3, "name": "PostgreSQL", "slug": "postgresql", "category": "backend" }
      ]
    }
  ]
}

Example Request

curl https://megome-production.up.railway.app/public/v1/project/:id \
  -H "Authorization: Bearer YOUR_PAT"

Example Response

{
  "message": "project retrieved successfully",
  "project": {
    "id": 21,
    "userId": 7,
    "title": "TaskFlow",
    "description": "A collaborative productivity platform for remote engineering teams.",
    "link": "https://taskflow.app",
    "githubLink": "https://github.com/example/taskflow",
    "status": "completed",
    "isDraft": false,
    "createdAt": "2026-02-01T05:12:18Z",
    "updatedAt": "2026-05-02T10:41:55Z"
  }
}

Experience

Example Request

curl https://megome-production.up.railway.app/public/v1/experience \
  -H "Authorization: Bearer YOUR_PAT"

Example Response

{
  "message": "experiences retrieved successfully",
  "experiences": [
    {
      "id": 1,
      "userId": 7,
      "title": "Frontend Engineer",
      "company": "CloudCore Solutions",
      "startDate": "2022-01-10T00:00:00Z",
      "endDate": "2024-06-30T00:00:00Z",
      "description": "Developed scalable internal tools and optimized frontend performance across multiple client platforms.",
      "createdAt": "2026-03-01T09:10:11Z",
      "updatedAt": "2026-05-14T07:55:42Z"
    }
  ]
}

Certificates

Example Request

curl https://megome-production.up.railway.app/public/v1/certificate \
  -H "Authorization: Bearer YOUR_PAT"

Example Response

{
  "message": "certificates retrieved successfully",
  "certificates": [
    {
      "id": 1,
      "userId": 7,
      "title": "AWS Certified Developer – Associate",
      "issuer": "Amazon Web Services",
      "issueDate": "2025-09-18T00:00:00Z",
      "expirationDate": "2028-09-18T00:00:00Z",
      "credentialId": "AWS-DEV-938221",
      "credentialUrl": "https://verify.aws.example/certificate/938221",
      "createdAt": "2026-04-04T10:11:29Z",
      "updatedAt": "2026-04-04T10:11:29Z"
    }
  ]
}

Ready to try it yourself?

Sign in or create an account to generate a personal access token and start making authenticated requests.