import { Router } from 'express' ; import { makeSignUpController } from '@/main/factories/sign-up-controller' ; import { adaptRoute } from '../adapters/express-route-adapter' ; export default ( router ) : void => { router . post ( '/signup' , adaptRoute ( makeSignUpController ( ) ) ) ; } ;