Build a Full Stack Banking Web App with Plaid & the MERN Stack

added by JavaScript Kicks
1/4/2019 5:33:07 PM

462 Views

1. Create our Accounts schema In the models directory, create a Account.js file. ➜ models touch Account.js Place the following in the Account.js file. const mongoose = require("mongoose");const Schema = mongoose.Schema; module.exports = Account = mongoose.model("account", AccountSchema); 2. Create our Plaid API routes Initial Setup Let's create a plaid.js file in our api directory to hold all of our plaid-related routes.


0 comments