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

What is suggested architecture to make this into an API? #200

Open
johnernest02 opened this issue Feb 1, 2020 · 3 comments
Open

What is suggested architecture to make this into an API? #200

johnernest02 opened this issue Feb 1, 2020 · 3 comments

Comments

@johnernest02
Copy link

I am an Android developer by trade. I'd like to use this library you've made which is the solution central to the business logic of our app thank you very much for this!

But being an android developer, I have little knowledge on how I can make REST APIs, also considering the other software needed for the library (pdftotext, antiword, etc). I have seen AWS and Heroku, but confused as to which OS the server should run on and the specifics. Could you point me in the right direction? I am studying NodeJS for Rest APIs

@pebojote
Copy link

pebojote commented Feb 1, 2020

Let me know if this is close to your goal:
textract-sample

@pebojote
Copy link

pebojote commented Feb 1, 2020

Anyway, that's my pitch deck for hackathon competition 😅

@ari62
Copy link

ari62 commented Nov 5, 2020

this is a node project, so wrapping it with something like express (https://expressjs.com/) would be the first step. Then you have to host it. Google hosting express js and you should get a tutorial on how to set it up on a server (for example https://developer.mozilla.org/en-US/docs/Learn/Server-side/Express_Nodejs/deployment). If you choose a service like heroku you wont have to worry about setting up the server and your linux knowledge too much. Otherwise theres a lot of options, like AWS EC2. Always choose a linux os. Then point your url's dns to the server.

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