Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
const express = require('express');
const userController = require('../controllers/userController');
const route = express.Router();
route.post('/user', userController.newUser);
module.exports = route;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment