{"size": 320, "ext": "js", "max_stars_repo_path": "server/routes/api/inv_notes.js", "max_stars_repo_name": "rrios4/roofing-webapp", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "server/routes/api/inv_notes.js", "max_issues_repo_name": "rrios4/roofing-webapp", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "server/routes/api/inv_notes.js", "max_forks_repo_name": "rrios4/roofing-webapp", "max_forks_repo_forks_event_min_datetime": "2021-03-09T17:27:17.000Z", "max_forks_repo_forks_event_max_datetime": "2021-03-09T17:27:17.000Z"}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 22.8571428571, "max_line_length": 58, "alphanum_fraction": 0.621875}
module.exports = app => {
    const inv_note = require("../../controller/inv_note");

    let router = require("express").Router();

    //Create a new invoice status
    router.post("/add", inv_note.create);

    //Retrieve all Job types
    router.get('/', inv_note.findAll);

    app.use('/api/inv-notes', router);

}