title: Admin/backend and frontends as one project or separate projects
body: <p>I'm developing a front end with reactjs for a fairly large project which has two main interfaces.front-end of the main site and front-end of the admin. </p>
  
  <p>Should i develop these as two different projects or one project in reactjs. if i structure these as two separate projects i'm well aware that it means i will have to do lot of repeating code on both projects. So i presume i should consider it as one project as below.</p>
  
  <p>client (Project Folder)</p>
  
  <ul>
  <li>app/main</li>
  <li>app/admin</li>
  </ul>
  
  <p>If i'm developing this as one project how do different front-ends route to different sub-domains if it lies in one project folder.</p>
  
  <ul>
  <li>example.com - main front-end</li>
  <li>admin.example.com - admin front-end</li>
  </ul>