Skip to content

Commit

Permalink
begin to add backend to use that token 1
Browse files Browse the repository at this point in the history
  • Loading branch information
rohan-git committed Nov 27, 2017
1 parent ed22125 commit 8eda741
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ console.log('added passportJS ... ');
// need app present beforehand
require('./routes/authRoutes')(app);

require('./routes/billingRoutes')(app);

app.get('/', (req, resp) => {
resp.write("wee");
console.log('default route');
Expand Down
8 changes: 8 additions & 0 deletions routes/billingRoutes.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

module.exports = app => {

app.post('/api/stripe/', (req, res) => {

});

}

0 comments on commit 8eda741

Please sign in to comment.