p5.js-web-editor/server/routes/user.routes.js
2016-06-20 18:00:40 -04:00

7 lines
211 B
JavaScript

import { Router } from 'express';
import * as UserController from '../controllers/user.controller';
const router = new Router();
router.route('/signup').post(UserController.createUser);
export default router;