mirror of
https://github.com/anuraghazra/github-readme-stats.git
synced 2024-12-15 06:04:17 +08:00
17 lines
471 B
JavaScript
17 lines
471 B
JavaScript
import "dotenv/config";
|
|
import statsCard from "./api/index.js";
|
|
import repoCard from "./api/pin.js";
|
|
import langCard from "./api/top-langs.js";
|
|
import wakatimeCard from "./api/wakatime.js";
|
|
import gistCard from "./api/gist.js";
|
|
import express from "express";
|
|
|
|
const app = express();
|
|
app.listen(process.env.port || 9000);
|
|
|
|
app.get("/", statsCard);
|
|
app.get("/pin", repoCard);
|
|
app.get("/top-langs", langCard);
|
|
app.get("/wakatime", wakatimeCard);
|
|
app.get("/gist", gistCard);
|