This repository has been archived on 2022-05-17. You can view files and clone it, but cannot push or open issues or pull requests.
brainlet/api/v1/index.js

15 lines
No EOL
297 B
JavaScript
Executable file

const usersAPI = require("./users");
const contentAPI = require("./content");
const express = require("express");
const app = express.Router();
app.use("/users", usersAPI);
app.use("/content", contentAPI);
app.get("/", (req, res) => {
res.json({ error: false });
});
module.exports = app;