mirror of
https://github.com/reiyua/github-profile-trophy-reiyua-mirror.git
synced 2026-11-17 06:02:09 +11:00
8 lines
No EOL
299 B
TypeScript
8 lines
No EOL
299 B
TypeScript
import { serve } from "./../deps.ts";
|
|
import { GithubAPIClient } from './../src/github_api_client.ts';
|
|
const client = new GithubAPIClient();
|
|
await client.requestUserData("ryo-ma");
|
|
const server = serve({ port: 8080 });
|
|
for await (const req of server) {
|
|
req.respond({ body: "<h1> TEST </h1>"});
|
|
} |