wecross / ministry-scheduler

A better way of doing preaching planning
MIT License
0 stars 0 forks source link

architecture discussion #7

Open radubrehar opened 4 years ago

radubrehar commented 4 years ago

I was thinking that instead of using serverless directly, we could leverage nextjs, since besides static routes, it also has dynamic routes - read about it at https://nextjs.org/docs/routing/dynamic-routes

Also, this would make deployment via https://zeit.co/home much easier, as we just need to connect the github repo to their platform and this will give us continous deployments

What do you think?

andreifloricel commented 4 years ago

Not sure if I understood you correctly due to my limited nonexistent experience with serverless & nextjs :) But if you mean something like this https://zeit.co/guides/custom-next-js-server-to-routes, then yeah, by all means, this indirection would give us also flexibility.

radubrehar commented 4 years ago

Ok, so we'll go with handling all routes via nextjs, which also makes it easy to deploy everything via zeit. Will configure the auto deployment with zeit this week.