hampgoodwin / iata-finder Goto Github PK
View Code? Open in Web Editor NEWSpec, Proto, and Scripts to etl, and access IATA airline information.
Spec, Proto, and Scripts to etl, and access IATA airline information.
I would like to get some more experience with CI/CD stuff but I/m not 100% sure on which service I want to use.
I'm mostly keen on this: https://concourse-ci.org/
because it's a chance to taken an open-source ci/cd (which I think is going to be popular) and deploy that, which will then deploy the app.
Here is a list of CI/CD tools we could use.
https://github.com/ligurio/awesome-ci
This could be part of make or in a bash script, or even in the readme.
This will be helpful since various contributors may need to generate code.
As part of #20, it will be good to have basic tests to make sure the server methods are functioning properly. These can be executed as part of the concourse (most likely) pipeline.
We have a current working branch which would make substantially large changes to the master branch. The branch is called "unit tests", but these tests will actually dial the server and depend on the dataservice, so they are not actually unit tests.
https://github.com/abelgoodwin1988/iata-finder/tree/add-unit-tests
Summary of changes so far:
@abelgoodwin1988, maybe take a look at the general structure as these are big changes. Would be glad to pair up sometime. For now, we can easily add more tests. The setup and teardown is pretty basic.
We have a bit of ugly code where we're parsing two different csv's based on two different data structs. Do we want to pull this out into their own handlers, or just leave as is until it gets more complicated (if it gets more complicated?).
When we eventually get to charging for this for a higher request threshold we'll need some way to accept payment.
Also note; the actual server is going to stay open-source...
So maybe we should have a donation/patreon sort of thing in addition to a pay system for those who want to deploy this system for themselves?
Would this be a good opportunity to get some cloud api configs and create a terraform thingy so we can practice deploys?
The app is simple and it's containerized so we could focus on the actual standing up of infra instead of "getting things running" stuff.
We may want to get a token issuing system. I plan on deploying this and making it available for free for up to some number of requests a month (all data). For people who are going to be pounding the service I want them to cover the cost of using it. For this I want to get started creating a tokening system where a particular token is associated with a number of allowed requests and how many requests they're allowed.
I think this could be a good DB experiment; I would rather have the "requests made" field be auto incremented by a db trigger that auto increments that field whenever the token is accessed as a simple way to track # of hits a user has made..
Anyways this is something to think about..
I wonder if we should make this actually a separate micro-service? I think that is actually the right way to go, what are your thoughts?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.