Open mattlindsey opened 7 years ago
See https://github.com/roschaefer/rundfunk-mitbestimmen for great example of this directory structure.
@tansaku Now I'm worried about implementing the UI in the same repo as the API. Are you OK with this? It allows cucumber tests to sit on top of both of them and keeps them in sync easer.
@mattlindsey it's okay for a spike, and it's okay in general - it's just important to be aware of the options.
You can have front end and back end in the same repo, or split them - there are pros and cons to each - think you could list what you think the pros and cons are?
SAME REPO PROS: Easier to acceptance test and maintain sync between UI and API CONS: Hard to split into 3 repos, if that's desired to maintain 'separation'
DIFF REPOS PROS: Maintains 'separation' of duties, tech stacks CONS: Possibly requires 3 repos and api versioning, better stubbing
Any others?
I said '3 repos' above, but would acceptance tests fit into both repos, making it only 2 required?
my version ...
SAME REPO PROS:
CONS:
DIFF REPOS PROS:
Move rails to 'backend' directory. Move cucumber up to top level 'features' directory. Add starter EmberJS app in 'features' directory.