mirror of
https://github.com/anuraghazra/github-readme-stats.git
synced 2024-12-27 06:25:47 +08:00
18 lines
493 B
JavaScript
18 lines
493 B
JavaScript
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";
|
|
import dotenv from "dotenv";
|
|
|
|
dotenv.config();
|
|
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);
|