feat: Adding register completion and private users endpoint

This commit is contained in:
Josepablo C
2024-03-10 04:02:47 -06:00
parent 9a829ccab3
commit 9f37553418
16 changed files with 763 additions and 109 deletions

View File

@@ -0,0 +1,47 @@
"use strict";
const { ROOT_PATH, MODELS_PATH } = process.env;
const { getModel } = require( `${ROOT_PATH}/${MODELS_PATH}` );
const usersModel = getModel('users');
// const companiesModel = getModel('companies');
// const branchesModel = getModel('branches');
// const vehiclesModel = getModel('vehicles');
// const loadsModel = getModel('loads');
// const productCategoriesModel = getModel('product_categories');
async function getOwnCompany( req , res ) {
}
async function postOwnCompany( req , res ) {
}
async function patchOwnCompany( req , res ) {
}
async function getCompanyById( req , res ) {
}
async function getListShippers( req , res ) {
}
async function getListCarriers( req , res ) {
}
async function getUserLists( req , res ) {
}
module.exports = {
getOwnCompany,
postOwnCompany,
patchOwnCompany,
getCompanyById,
getListShippers,
getListCarriers,
getUserLists
};