SDHacks / SDHacks2017

The official website for UC San Diego's annual hackathon - 2017 edition

Home Page:https://2017.sdhacks.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create User Subdomain to Serve React Package

RedbackThomson opened this issue · comments

Currently the admin panel is being served through the /admin subfolder. Ideally we would like /user/:userId to serve each of the user profiles, through the same react package as for /admin. So this would require setting up express routing and react routing to handle it appropriately. We can probably re-use the same /admin express views, which serve simplified CSS and JS.