hackgvl / trolley-tracker-api-dot-net

API for tracking Greenville's trolleys with .NET
MIT License
4 stars 6 forks source link

Port to a DotNetCore model for hosting flexibility #20

Closed bikeoid closed 1 year ago

bikeoid commented 7 years ago

Port code to use DotNetCore. This would be a major rewrite, but would allow more hosting flexibility in the future.

bikeoid commented 7 years ago

Re: hosting option - if there were an possibility to host on Linux, what free / low cost Linux hosting option is available that wouldn't be CPU or bandwidth starved?

jeremywight commented 7 years ago

What level of access would we need? We can do shared VPS hosting reasonably. If we need SSH access we could do a digital ocean box for $10-20/month depending on resource needs.

On Fri, Nov 18, 2016 at 2:13 PM, bikeoid notifications@github.com wrote:

Re: hosting option - if there were an possibility to host on Linux, what free / low cost Linux hosting option is available that wouldn't be CPU or bandwidth starved?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/codeforgreenville/trolley-tracker-api-dot-net/issues/20#issuecomment-261616139, or mute the thread https://github.com/notifications/unsubscribe-auth/AH3RYEbdh8OaGsNSd_2hTnVjqaQPoU25ks5q_fjSgaJpZM4K20nF .

bikeoid commented 7 years ago

Tentatively, I'd like to be able to log web and API accesses, as well as database transactions in addition to basic publish access. Probably could get by without SSH. I'll know more exactly after the port is complete.

jeremywight commented 7 years ago

👍

On Fri, Nov 18, 2016 at 2:52 PM, bikeoid notifications@github.com wrote:

Tentatively, I'd like to be able to log web and API accesses, as well as database transactions in addition to basic publish access. Probably could get by without SSH. I'll know more exactly after the port is complete.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/codeforgreenville/trolley-tracker-api-dot-net/issues/20#issuecomment-261625712, or mute the thread https://github.com/notifications/unsubscribe-auth/AH3RYGKzg2_CxC-y_2CaUxtNpE8El1sAks5q_gHkgaJpZM4K20nF .

jeremywight commented 7 years ago

Add in the items from https://github.com/codeforgreenville/trolley-tracker-api-dot-net/issues/5

dereckcurry commented 6 years ago

Great meeting everyone tonight at the meetup. I'll start looking into this issue soon if it is ok with all. Thanks.

bikeoid commented 6 years ago

This model might be interesting to study - https://github.com/joewalling/mvc-core2-api-best-practices ; there are no comments, but it's being developed month by month in the GSP Developers Group meeting; eventually there will be a React front end added. The relevant part is the Inversion of Control (IOC) model ; applied to this project, all the logic will move out of the Controllers and into the Services layer so that testing will be possible.

Note that the API is self-documented at http://localhost:28955/swagger/ , which also allows interactive testing.

dereckcurry commented 6 years ago

I'll check it out. Thanks!