jedireza / aqua

:bulb: A website and user system starter
https://jedireza.github.io/aqua/
MIT License
1.38k stars 356 forks source link

Upload file #213

Closed taisaotaokhoc closed 7 years ago

taisaotaokhoc commented 7 years ago

Hello, I want to use this framework for my project. Can I use multer to upload file in this framework ? Do you have any idea about upload file in aqua? Many thanks Ken

jedireza commented 7 years ago

If I'm remembering correctly this should be built-in to hapi. Checkout the route config section of the API docs here: https://hapijs.com/api#route-configuration Searching that page for the word "upload" landed me in the right section.

This Stack Overflow answer may help too: https://stackoverflow.com/a/24521136

Cornstar23 commented 7 years ago

@taisaotaokhoc Did you come up with a solution?