Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation to create a REST from this api #286

Open
buutqn opened this issue May 14, 2020 · 3 comments
Open

Documentation to create a REST from this api #286

buutqn opened this issue May 14, 2020 · 3 comments

Comments

@buutqn
Copy link

buutqn commented May 14, 2020

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.

@migo315
Copy link

migo315 commented May 14, 2020

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.

@cubehouse
Copy link
Owner

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.

@buutqn
Copy link
Author

buutqn commented May 18, 2020

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants