Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is just one (basic) way to do this. In a real app you put all of your server code in a /server directory, removing the need for the if statements.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: