{"size": 429, "ext": "js", "max_stars_repo_path": "api/server.js", "max_stars_repo_name": "nplatton/bloggers-anon", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "api/server.js", "max_issues_repo_name": "nplatton/bloggers-anon", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "api/server.js", "max_forks_repo_name": "nplatton/bloggers-anon", "max_forks_repo_forks_event_min_datetime": "2022-02-16T10:26:33.000Z", "max_forks_repo_forks_event_max_datetime": "2022-02-16T10:26:33.000Z"}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 22.5789473684, "max_line_length": 71, "alphanum_fraction": 0.6946386946}
const express = require("express");
const cors = require("cors");

const server = express();
server.use(cors());
server.use(express.json());

server.get("/", (req, res) => {
  res.json("Bonjour!");
});

const blogRoutes = require("./routes/blogs");
server.use("/blogs", blogRoutes);

const fingerprintRoutes = require("./fingerprintjs/fingerprintRoutes");
server.use("/fingerprint", fingerprintRoutes);

module.exports = server;
