Skip to content
This repository was archived by the owner on Dec 15, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
877994f
Boilerplate Updates
Jan 20, 2017
f69b54d
Adding Eligible Logic
Jan 20, 2017
5854335
Server.js Router Update
Jan 20, 2017
c333535
script.js path correction
Jan 20, 2017
d579a38
Update index.html
tnt16dj Jan 20, 2017
7fb0310
Update eligible.html
tnt16dj Jan 20, 2017
73834ac
Update index.html
tnt16dj Jan 20, 2017
0b40398
Update about.html
tnt16dj Jan 20, 2017
ccb4bec
Update contact.html
tnt16dj Jan 20, 2017
39c28f1
Update eligible.html
tnt16dj Jan 20, 2017
a699515
Adding Style Templates
tnt16dj Jan 20, 2017
1084e22
Updates for Style
Jan 20, 2017
26f561e
Changing script.js location
Jan 20, 2017
7e459e4
Eligible Template Page
tnt16dj Jan 20, 2017
fa6d5de
Eligible Coverage Route Add
tnt16dj Jan 20, 2017
9ab7284
Index Dashboard
tnt16dj Jan 20, 2017
49aacab
Update index.html
tnt16dj Jan 20, 2017
b1982dd
Update index.html
tnt16dj Jan 20, 2017
89b0458
Update index.html
tnt16dj Jan 20, 2017
5c4f25b
Update eligiblecoverage.html
tnt16dj Jan 20, 2017
bf8333f
Update eligiblecoverage.html
tnt16dj Jan 20, 2017
e2d0c0e
Update eligiblecoverage.html
tnt16dj Jan 20, 2017
2f61e67
TEST CHANGE
Jan 20, 2017
d9bb46d
Update eligiblecoverage.html
tnt16dj Jan 20, 2017
bffaf16
Changes to embed location
Jan 20, 2017
6d8090c
Update eligiblecoverage.html
tnt16dj Jan 20, 2017
c9c7e95
Main file for logic included in server.js
Jan 20, 2017
1ddaa84
decencies updated
Jan 20, 2017
832c92a
body-parser require.
tnt16dj Jan 20, 2017
dded221
Update server.js
tnt16dj Jan 20, 2017
095c8bc
Fixed model call
Jan 20, 2017
544a5ea
test.html
Jan 20, 2017
5ea10c5
Merge remote-tracking branch 'origin/master'
Jan 20, 2017
64cfcd8
Update server.js
tnt16dj Jan 20, 2017
71a5b80
Update server.js
tnt16dj Jan 20, 2017
9d93f52
Update server.js
tnt16dj Jan 20, 2017
80b5987
Update eligiblecoverage.html
tnt16dj Jan 20, 2017
aa73964
Test eligible call
Jan 20, 2017
7b3f99a
Added test route
Jan 20, 2017
6a6ac2a
Add space
Jan 20, 2017
a74fec9
Commenting out Main include
Jan 20, 2017
1fd94e9
Update server.js
tnt16dj Jan 20, 2017
1e9e929
Update server.js
tnt16dj Jan 20, 2017
c1bacd6
Update sb-admin.css
tnt16dj Jan 20, 2017
0de5731
Padding Update
Jan 20, 2017
4f6a2ea
nom and code updates
Jan 20, 2017
5a951e5
Adding static file line
Jan 20, 2017
9a72fd3
Updates to CSS Paths
Jan 20, 2017
28e9209
Updates to Navigation on eligible html
Jan 20, 2017
8727637
Updates to links
Jan 20, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
26 changes: 26 additions & 0 deletions Views/about.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<html>
<head>
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
</head>
<body>
<div>
<div>
<nav class="navbar navbar-inverse" role="navigation" style="padding-left:130px;">
<ul class="nav navbar-nav">
<li><a href="/">Home</a></li>
<li class="active"><a href="/about">About us<span class="sr-only">(current)</span></a></li>
<li><a href="/contact">Contact us</a></li>
<li><a href="/eligible">Eligible</a></li>
</ul>
</nav>
</div>
<br/>
<div class="jumbotron">
<p>
Put detail description about you and your company.
</p>
</div>
</div>
</body>
</html>
57 changes: 57 additions & 0 deletions Views/contact.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<html>
<head>
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
</head>
<body>
<div>
<div>
<nav class="navbar navbar-inverse" role="navigation" style="padding-left:130px;">
<ul class="nav navbar-nav">
<li><a href="/">Home</a></li>
<li><a href="/about">About us</a></li>
<li class="active"><a href="/contact">Contact us<span class="sr-only">(current)</span></a></li>
<li><a href="/eligible">Eligible</a></li>
</ul>
</nav>
</div>
<br/>
<form class="form-horizontal" role="form" style="width: 50%;">
<div class="form-group">
<label for="name" class="col-sm-2 control-label">Name</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="name" name="name" placeholder="First & Last Name" value="">
</div>
</div>
<div class="form-group">
<label for="email" class="col-sm-2 control-label">Email</label>
<div class="col-sm-10">
<input type="email" class="form-control" id="email" name="email" placeholder="[email protected]" value="">
</div>
</div>
<div class="form-group">
<label for="message" class="col-sm-2 control-label">Message</label>
<div class="col-sm-10">
<textarea class="form-control" rows="4" name="message"></textarea>
</div>
</div>
<div class="form-group">
<label for="human" class="col-sm-2 control-label">2 + 3 = ?</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="human" name="human" placeholder="Your Answer">
</div>
</div>
<div class="form-group">
<div class="col-sm-10 col-sm-offset-2">
<input id="submit" name="submit" type="submit" value="Send" class="btn btn-primary">
</div>
</div>
<div class="form-group">
<div class="col-sm-10 col-sm-offset-2">
<! Will be used to display an alert to the user>
</div>
</div>
</form>
</div>
</body>
</html>
35 changes: 35 additions & 0 deletions Views/eligible.html

Large diffs are not rendered by default.

236 changes: 236 additions & 0 deletions Views/eligiblecoverage.html

Large diffs are not rendered by default.

492 changes: 492 additions & 0 deletions Views/index.html

Large diffs are not rendered by default.

36 changes: 36 additions & 0 deletions Views/test.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<html>
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<script>

function myCall(site) {
var request = $.ajax({
url: site,
type: "GET",
dataType: "html"
});

request.done(function(msg) {
alert(msg)
$("#data").append(msg);
});
request.fail(function(jqXHR, textStatus) {
alert( "Request failed: " + textStatus );
});
}
</script>
<head>
<title>Welcome to Health 101</title>
<h1>Welcome to Healthcare Helper <%= uname %></h1>
</head>

<body>
<button type="submit" onclick="myCall('/mytabledata');" method = "GET">View Payers</button>
<p id = "data"></p>
<table id="payers" border='1'>
<tr>
<th>Names</th>
<th>Status</th>
</tr>
</table>
</body>
</html>
28 changes: 28 additions & 0 deletions model/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
module.exports = function(app)
{ var Eligible = require('eligible-node');


//or, pass them as object:
var eligible = Eligible({
apiKey: 'SbdQJVVtHq_cphPqloPIMgfqGMt8XewHM-Ka',
isTest: true
});
/* app.post('/homepage',urlencodedParser,function(req,res){
var username = req.body.uname;
console.log(username)
res.render('homepage',{uname:username})
});*/
app.get('/mytabledata',function(req,res){
eligible.Payer.all({
endpoint: 'coverage',
}).then(function(payers) {
console.log(payers);
res.send(payers)
})

})
/* app.get('/about',function(req,res){
res.render('about.html');
});
*/
}
1 change: 1 addition & 0 deletions node_modules/.bin/har-validator

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/mime

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/mkdirp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/sshpk-conv

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/sshpk-sign

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/sshpk-verify

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node_modules/.bin/uuid

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

212 changes: 212 additions & 0 deletions node_modules/accepts/HISTORY.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading