themeparks icon indicating copy to clipboard operation
themeparks copied to clipboard

Documentation to create a REST from this api

Open buutqn opened this issue 5 years ago • 3 comments

If there is anything about this, i couldn't find.

I know about nothing of Node.js but I installed, followed the code in the README.md and it worked as a charm, but about accessing multiple parks in a nodejs server on localhost? Damn, thats hard for someone that don't know how Node.js works.

It would be nice if there was some documentation on how to create an REST from this api in docs folder.

buutqn avatar May 14 '20 01:05 buutqn

There are multiple ways to get the waiting times. One solution would be to save the waiting times in a database and create an application (php, node or whatever) to fetch the data from the database.

Or create an AWS lambda REST API which fetch the waiting times on every request.

If you don't want to create the solution yourself, check coaster.cloud / Fetching waiting times.

migo315 avatar May 14 '20 06:05 migo315

A "best practices" guide would be useful, but I don't really know where that example should sit between teaching people how to program, and how to build a specific web application correctly. Neither of these really sit within the scope of this library.

Already hosted solutions are probably a good direction if you are not familiar with the technologies involved, since you can use whatever language you are already well experienced with.

cubehouse avatar May 16 '20 12:05 cubehouse

A "best practices" guide would be useful, but I don't really know where that example should sit between teaching people how to program, and how to build a specific web application correctly. Neither of these really sit within the scope of this library.

Already hosted solutions are probably a good direction if you are not familiar with the technologies involved, since you can use whatever language you are already well experienced with.

No no no, i'm sorry if i sound something like that. What i was trying to say was have more documentation about that side, "using it as a rest", but not how to teach. Just a little more examples...

buutqn avatar May 18 '20 04:05 buutqn