Jason Mathnov
Jason Mathnov

Reputation: 99

How to integrate multiple components into an API

I am working on tying together multiple components that I have developed for my undergraduate thesis, and have hit a road block. There are five components to my project:

Currently all of my components are duct-taped together with a bash script, with the Angular component non-existent.

What I want to do is the following:

Problems:

Any suggestions to simplify this would be greatly appreciated. I have had these components completed for about a month but have not been able to figure out how to tie them together.

Thanks!

Upvotes: 0

Views: 176

Answers (1)

Rob Conklin
Rob Conklin

Reputation: 9446

You make things very complicated :-)

You have several languages at play here, which makes things much trickier. I would consider rewriting your C++ code in python, or making python wrappers around it: https://docs.python.org/2/extending/extending.html so that you can use a python framework like one of these: http://blog.miguelgrinberg.com/post/designing-a-restful-api-with-python-and-flask or http://python-eve.org.

If you want to use RDS, you will have to switch to one of their supported databases. If you are OK running your own database, you will already be using a server to run your code on, just use an EBS volume there (don't use ephemeral disk unless you are going to do a very robust backup/replication process). But considering what you have built, I would really consider using something with less maintenance overhead. If you are willing to pay for it, Aurora just got released for public use, and removes most of the db administration overhead work.

Upvotes: 1

Related Questions