I decided to break the work into two git repositories: a frontend and a backend repo.
https://github.com/ericso/haus-backend
Deployed at: https://es-haus-backend.herokuapp.com/
There is no root resolver for the backend.
UPDATE denormalized_claim | |
SET | |
claim_id = subquery.claim_id, | |
fill_processed_at = subquery.fill_processed_at, | |
fill_started_at = subquery.fill_started_at, | |
end_service_at = subquery.end_service_at, | |
authorization_number = subquery.authorization_number, | |
prior_auth_code = subquery.prior_auth_code, | |
network_type = subquery.network_type, | |
ndc = subquery.ndc, |
query DrugGpis($tc_gpi_key: String, $record_type_code: String, $tc_gpi_name: String) { | |
drug_gpis( | |
pagination: { | |
page: 1, | |
perPage: 20 | |
} | |
where: { | |
tc_gpi_key: { | |
like: $tc_gpi_key | |
} |
query DrugPrices($ndc: String) { | |
drug_prices( | |
pagination: { | |
page: 1, | |
perPage: 20 | |
} | |
where: { | |
ndc: { | |
like: $ndc | |
} |
# Write your query or mutation here | |
query Drugs($ndc: String, $gpi: String, $label_name: String, $status: String) { | |
drugs( | |
pagination: { | |
page: 1, | |
perPage: 20 | |
} | |
where: { | |
ndc: { | |
like: $ndc |
I decided to break the work into two git repositories: a frontend and a backend repo.
https://github.com/ericso/haus-backend
Deployed at: https://es-haus-backend.herokuapp.com/
There is no root resolver for the backend.
// memory manager | |
/** | |
* Simulate a buffer of memory using an Array. | |
* Creating the memory manager would consist of calling the constructor of MemoryManager with a pointer | |
* to the buffer and the size of the buffer. Since we're simulating this, and you can't pass a reference | |
* to an array in Javascript, let's just create the array in the MemoryManager. | |
*/ | |
class MemoryManager { |
// memory manager | |
/** | |
* Simulate a buffer of memory using an Array. | |
* Creating the memory manager would consist of calling the constructor of MemoryManager with a pointer | |
* to the buffer and the size of the buffer. Since we're simulating this, and you can't pass a reference | |
* to an array in Javascript, let's just create the array in the MemoryManager. | |
*/ | |
class MemoryManager { |
// Least Recently Used cache | |
// Implement a data structure to store keys for a LRU cache | |
/* | |
doubly linked list to hold order of keys | |
front of list is the most recently used key | |
back of list is the least recently used key | |
dictionary holds references to each node in the linked list | |
keys are the keys being held |
from application import db | |
from app.models import User | |
from common.tests import BaseTestCase | |
from common.util import rand_string_gen | |
class UsersTest(BaseTestCase): | |
def setUp(self): | |
with self.app.app_context(): | |
db.create_all() |
# --------------------------------------------------------------------------- | |
# | |
# Description: This file holds all my BASH configurations and aliases | |
# | |
# Sections: | |
# 1. Environment Configuration | |
# 2. Make Terminal Better (remapping defaults and adding functionality) | |
# 3. File and Folder Management | |
# 4. Searching | |
# 5. Process Management |