Skip to content

Instantly share code, notes, and snippets.

@derduskenga
Created July 29, 2020 16:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save derduskenga/a0600d86150bdc7b4dd99ee1a8c6e488 to your computer and use it in GitHub Desktop.
Save derduskenga/a0600d86150bdc7b4dd99ee1a8c6e488 to your computer and use it in GitHub Desktop.
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