mirror of
https://github.com/System-End/github-readme-stats.git
synced 2026-04-19 12:00:30 +00:00
16 lines
471 B
JavaScript
16 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);
|