{"size": 372, "ext": "js", "max_stars_repo_path": "routes/employee.routes.js", "max_stars_repo_name": "akkassingh/node-connection-sql", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "routes/employee.routes.js", "max_issues_repo_name": "akkassingh/node-connection-sql", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "routes/employee.routes.js", "max_forks_repo_name": "akkassingh/node-connection-sql", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 28.6153846154, "max_line_length": 70, "alphanum_fraction": 0.6478494624}
module.exports = app => {
    const employee = require("../controllers/employee.controller.js");
  
    // Retrieve all Employees
    app.get("/employee", employee.findAll);
        
    // Create a new Employees
    app.post("/employee", employee.create);
  
    // Retrieve a single Employee with employee_id
    app.get("/employee/:employeeId", employee.findOne);

  };