import express from 'express';

import * as userController from '../../controllers/users';

const user = express.Router();

// define route controllers for creating sign up, login and sign out
user.post('/signup', userController.signUp);
user.post('/signin', userController.signIn);

user.get('/signout', userController.signOut);

export default user;

Set up '/signup' to use User controller
Set up '/signup' to use User controller
