Node / Mongo backend for an app for providing payday cash advances to American workers. Visit here for the frontend.
We use Express.js as a backend framework.
We use passport.js for authentication.
We use mongoose for interfacing with mLab
We use the PLAID API for linking a users bank account.
We use the Dwolla API for transfering money to and from a users bank account.
We use the SendGrid API for sending emails to users
We use GitHub webhooks to automatically update the server when a PR is closed on master
We host on AWS, using a free-tier, single-core EC2 AMI instance.
Our api can be found at:
http://ec2-54-212-62-214.us-west-2.compute.amazonaws.com/api/ or https://quantwebdev.me
We use the cluster module of Node.js to distribute our server over multicore hosts.
- Clone the repo
- Navigate to the repo's root folder.
- Run the following commands:
# run mongodb if necessary
brew services start mongodb
# install depencies
yarn
# run the app
yarn start
Navigate to the root folder of the repo and type:
# Ensure your dependencies are up to date
yarn
# To build for production
yarn run build
# To run for production
yarn run prod
master
is our stable branchjoe/dev
is Joe's dev branch, currently holding beta features (email verification, email updating, lazy loading transactions) that have not been merged with master
Tyler Burnam, Azhar Hussain, Deven Orie, Joe Connolly