Skip to content
View wemilabs's full-sized avatar
🏠
Working from home
🏠
Working from home

Block or report wemilabs

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
wemilabs/README.md

Hi there πŸ‘‹ I'm Mr T., the nerdy guy

// whoami.ts
"use server";

import { githubWebDevsUtils } from "github/web/devs/utils"; // πŸ₯² i couldn't resist

type ProfileProps = {
  expertise: string[];
  passion: string[];
  teaching: string[];
  interest: string[]
}

const mrTProfile: ProfileProps = {
  expertise: ["JS/TS", "React/Next.js", "Drizzle ORM/Prisma ORM", "PostgreSQL/MongoDB"],
  passion: ["Developer Education", "AI Accessibility", "Career Growth"],
  teaching: ["Programming Fundamentals", "AI Integration"],
  interest: ["AI/ML", "Astronomy/Space Engineering"]
}

/**
* Very nerdy presentation, I know 😎
* Let's just have fun folks, while expressing a bit of creativity.
*/
export async function displayProfile(mrTProfile){
  const { success, session } = await githubWebDevsUtils.verifySession();
  if (!success || !session)
    return { message: "Please log in first to access this content." };

  try {
    const profileInfo = await githubWebDevsUtils.loadProfileInfo(mrTProfile);
    return profileInfo;
  } catch(err: unknow) {
    const e = err as Error;
    console.error(`Something wrong happened: ${e.message}`);
  }
}

// app/profile/page.tsx

// Coming soon...

Keep in touch

Pinned Loading

  1. cuttypie-dev cuttypie-dev Public

    My own website

    TypeScript 1

  2. openstud openstud Public

    Bridging the gap between learning and success

    TypeScript

  3. keepflowing keepflowing Public

    Project Management App for Independents (highly scalable)

    TypeScript 2

  4. arport arport Public

    The most comprehensive unified space for Academic Research

    TypeScript 1